|
|
|
@ -220,6 +220,9 @@ module.exports = function (conn, screen) { |
|
|
|
|
'Control+Shift+C' () { |
|
|
|
|
screen.copySelectionToClipboard() |
|
|
|
|
}, |
|
|
|
|
'Control+Insert' () { |
|
|
|
|
screen.copySelectionToClipboard() |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// toggle debug mode
|
|
|
|
|
'Control+F12' () { |
|
|
|
@ -229,7 +232,9 @@ module.exports = function (conn, screen) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// ctrl+[A-Z] sent as simple low ASCII codes
|
|
|
|
|
for (let i = 1; i <= 26; i++) keymap[`Control+${String.fromCharCode(0x40 + i)}`] = String.fromCharCode(i) |
|
|
|
|
for (let i = 1; i <= 26; i++) { |
|
|
|
|
keymap[`Control+${String.fromCharCode(0x40 + i)}`] = String.fromCharCode(i) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** Send a literal message */ |
|
|
|
|
function sendString (str) { |
|
|
|
|