control-q instead of q for exitting apps

This commit is contained in:
kepler155c@gmail.com
2019-07-02 14:12:41 -04:00
parent 6fa7779d7d
commit ed99703fda
15 changed files with 18 additions and 52 deletions

View File

@@ -188,7 +188,7 @@ local mainPage = UI.Page({
autospace = true,
}),
accelerators = {
q = 'quit',
[ 'control-q' ] = 'quit',
},
})

View File

@@ -52,7 +52,7 @@ local page = UI.Page {
first = UI.Button { x = 2, y = 11, text = 'First', event = 'firstCoord' },
cancel = UI.Button { x = 2, y = -3, text = 'Abort', event = 'cancel' },
begin = UI.Button { x = -8, y = -3, text = 'Begin', event = 'begin' },
accelerators = { q = 'quit' },
accelerators = { [ 'control-q' ] = 'quit' },
notification = UI.Notification(),
statusBar = UI.StatusBar(),
}