mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-13 15:36:42 +08:00
fixed zen mode not working completely
This commit is contained in:
parent
bf39a1c7c2
commit
ac798ed2d1
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue