From 7796a3680ffa6f47cb16483937326874fb5a36ba Mon Sep 17 00:00:00 2001 From: Artem Azaraev Date: Wed, 26 Aug 2026 18:55:10 +0300 Subject: [PATCH 1/2] ux: add Ctrl+Ins copy shortcut in diff view --- src/Views/TextDiffView.axaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/TextDiffView.axaml.cs b/src/Views/TextDiffView.axaml.cs index e3fd7f869..583478b23 100644 --- a/src/Views/TextDiffView.axaml.cs +++ b/src/Views/TextDiffView.axaml.cs @@ -662,7 +662,7 @@ private async void OnTextAreaKeyDown(object sender, KeyEventArgs e) { if (e.KeyModifiers.Equals(OperatingSystem.IsMacOS() ? KeyModifiers.Meta : KeyModifiers.Control)) { - if (e.Key == Key.C) + if (OperatingSystem.IsMacOS() ? e.Key == Key.C : e.Key is Key.C or Key.Insert) { e.Handled = true; From dbc8ffd88c5b93587228de713cb3328955fe0e85 Mon Sep 17 00:00:00 2001 From: Artem Azaraev Date: Thu, 27 Aug 2026 10:53:49 +0300 Subject: [PATCH 2/2] dropping isMacOS check --- src/Views/TextDiffView.axaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/TextDiffView.axaml.cs b/src/Views/TextDiffView.axaml.cs index 583478b23..1125ebac1 100644 --- a/src/Views/TextDiffView.axaml.cs +++ b/src/Views/TextDiffView.axaml.cs @@ -662,7 +662,7 @@ private async void OnTextAreaKeyDown(object sender, KeyEventArgs e) { if (e.KeyModifiers.Equals(OperatingSystem.IsMacOS() ? KeyModifiers.Meta : KeyModifiers.Control)) { - if (OperatingSystem.IsMacOS() ? e.Key == Key.C : e.Key is Key.C or Key.Insert) + if (e.Key is Key.C or Key.Insert) { e.Handled = true;