diff --git a/lib/hterm.js b/lib/hterm.js index ee61af3a..b90d32d0 100644 --- a/lib/hterm.js +++ b/lib/hterm.js @@ -89,6 +89,15 @@ hterm.Keyboard.prototype.onKeyDown_ = function (e) { e.preventDefault(); return; } + // French keyboard layout + if (e.code === 'BracketLeft') { + this.terminal.onVTKeystroke('^'); + return; + } + if (e.code === 'Backslash') { + this.terminal.onVTKeystroke('`'); + return; + } console.warn('Uncaught dead key on international keyboard', e); }