mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Fix ControlQ to quit in FSharp
This commit is contained in:
@@ -425,7 +425,7 @@ let Main () =
|
||||
StatusItem(Key.F1, ustr "~F1~ Help", Action Help)
|
||||
StatusItem(Key.F2, ustr "~F2~ Load", Action Load)
|
||||
StatusItem(Key.F3, ustr "~F3~ Save", Action Save)
|
||||
StatusItem(Key.ControlX, ustr "~^X~ Quit", fun () -> if (Quit()) then top.Running <- false) |])
|
||||
StatusItem(Key.ControlQ, ustr "~^Q~ Quit", fun () -> if (Quit()) then top.Running <- false) |])
|
||||
win.Add (drag, dragText)
|
||||
let bottom = new Label (ustr "This should go on the bottom of the same top-level!")
|
||||
win.Add bottom
|
||||
|
||||
Reference in New Issue
Block a user