fixed zen mode not working completely

This commit is contained in:
Jack 2021-10-03 15:20:30 +01:00
parent bf39a1c7c2
commit ac798ed2d1

View file

@ -355,7 +355,11 @@ function handleChar(char, charIndex) {
}
}
if (TestLogic.words.getCurrent()[charIndex] !== "\n" && char === "\n") {
if (
Config.mode !== "zen" &&
TestLogic.words.getCurrent()[charIndex] !== "\n" &&
char === "\n"
) {
return;
}