Skip to content

Commit

Permalink
fix: prevent automatic double newline when quick restart set to enter…
Browse files Browse the repository at this point in the history
… (sanidhyas3s) (#5184)

Fixes #5175

Co-authored-by: Jack <jack@monkeytype.com>
  • Loading branch information
sanidhyas3s and Miodec authored Mar 5, 2024
1 parent cc30f63 commit 2fb77a1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion frontend/src/ts/controllers/input-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,6 @@ $(document).on("keydown", async (event) => {
event,
});
} else {
handleChar("\n", TestInput.input.current.length);
setWordsInput(" " + TestInput.input.current);
if (Config.tapeMode !== "off") {
TestUI.scrollTape();
Expand Down

0 comments on commit 2fb77a1

Please sign in to comment.