Display appropriate strings for shortcuts

This commit is contained in:
airstruck
2016-01-28 13:47:11 -05:00
parent d1501fca41
commit b0614e67f1
3 changed files with 46 additions and 13 deletions

View File

@@ -7,9 +7,9 @@ return { id = 'mainWindow',
status = 'Quit the demo' },
},
{ text = 'Edit',
{ text = 'Cut', shortcut = 'ctrl-c' },
{ text = 'Copy', shortcut = 'ctrl-x' },
{ text = 'Paste', shortcut = 'ctrl-v' },
{ text = 'Cut', shortcut = { 'win-ctrl-c', 'mac-gui-c' } },
{ text = 'Copy', shortcut = 'c-x' },
{ text = 'Paste', shortcut = { 'command-v', 'win-ctrl-v' } },
{ type = 'slider' },
},
{ text = 'View',