mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
made it so Ctrl-X on status bar actually quits (#362)
This commit is contained in:
@@ -517,7 +517,7 @@ static class Demo {
|
||||
new StatusItem(Key.F1, "~F1~ Help", () => Help()),
|
||||
new StatusItem(Key.F2, "~F2~ Load", null),
|
||||
new StatusItem(Key.F3, "~F3~ Save", null),
|
||||
new StatusItem(Key.ControlX, "~^X~ Quit", () => Quit()),
|
||||
new StatusItem(Key.ControlX, "~^X~ Quit", () => { if (Quit ()) top.Running = false; }),
|
||||
});
|
||||
|
||||
win.Add (drag, dragText);
|
||||
|
||||
Reference in New Issue
Block a user