From 1df0d17063d1c43bee95c51ed2cea9e152466b28 Mon Sep 17 00:00:00 2001 From: Pawel Raczyk Date: Thu, 25 Apr 2019 15:45:16 +0200 Subject: [PATCH] dash fix --- app/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ui.js b/app/ui.js index 84446a4e..f6631173 100644 --- a/app/ui.js +++ b/app/ui.js @@ -984,7 +984,7 @@ const UI = { if (character === undefined) return; let code = character.charCodeAt(); - const needs_shift = 'A-Z!@#$%^&*()_+{}:"<>?~|'.indexOf(character) !== -1; + const needs_shift = '^[AZ]!@#$%^&*()_+{}:"<>?~|'.indexOf(character) !== -1; const enter = '[\n]'.indexOf(character) !== -1; if (code === 91) { UI.rfb.sendKey(KeyTable.XK_bracketleft, 'XK_bracketleft', true);