fixed input getting out of sync after pressing ctrl+backspace with a special character as the only input. closes #1688

This commit is contained in:
Jack 2021-07-28 21:29:43 +01:00
parent 402744ada7
commit 4dd2ada0d1

View file

@ -183,8 +183,6 @@ function handleBackspace(event) {
Funbox.toggleScript(TestLogic.words.getCurrent());
TestUI.updateWordElement(!Config.blindMode);
TestLogic.input.resetCurrent();
TestLogic.input.popHistory();
TestLogic.corrected.popHistory();
} else {
const regex = new RegExp(
/[ £§`~!@#$%^&*()_+\\\-=[\]{};':"|,./<>?]/,