Skip to content

Commit

Permalink
Merge pull request #56 from halvarsson/ctrl-q-exit-workaround
Browse files Browse the repository at this point in the history
Add workaround for CTRL+Q functionality
  • Loading branch information
halvarsson authored Apr 29, 2024
2 parents e4b9211 + 2f289fb commit 2ffbbe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ShowEditorCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected override void ProcessRecord()
return true;
};

fileNameStatus = new StatusItem(Key.Unknown, "Unsaved", () => { });
fileNameStatus = new StatusItem(Key.CtrlMask | Key.Q, "Unsaved", () => { Quit(); });

if (Path != null)
{
Expand Down

0 comments on commit 2ffbbe2

Please sign in to comment.