Skip to content

Commit 141b299

Browse files
authored
ux: add Ctrl+Insert copy shortcut in diff view (#2657)
1 parent 3d8d6f2 commit 141b299

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Views/TextDiffView.axaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ private async void OnTextAreaKeyDown(object sender, KeyEventArgs e)
662662
{
663663
if (e.KeyModifiers.Equals(OperatingSystem.IsMacOS() ? KeyModifiers.Meta : KeyModifiers.Control))
664664
{
665-
if (e.Key == Key.C)
665+
if (e.Key is Key.C or Key.Insert)
666666
{
667667
e.Handled = true;
668668

0 commit comments

Comments
 (0)