diff --git a/js/term_input.js b/js/term_input.js index bef567c..b1ae33a 100644 --- a/js/term_input.js +++ b/js/term_input.js @@ -219,6 +219,11 @@ module.exports = function (conn, screen) { // copy to clipboard 'Control+Shift+C' () { screen.copySelectionToClipboard() + }, + + // toggle debug mode + 'Control+F12' () { + screen.window.debug ^= 1 } /* eslint-enable key-spacing */ }