This commit is contained in:
Pawel Raczyk 2019-04-25 15:45:16 +02:00
parent b78e84172a
commit 1df0d17063
1 changed files with 1 additions and 1 deletions

View File

@ -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);