fix: shift enter not inserting a newline character

This commit is contained in:
Miodec 2025-08-10 16:06:53 +02:00
parent e74ed0e4c1
commit 541f29ce94

View file

@ -1113,6 +1113,10 @@ $(document).on("keydown", async (event) => {
TestState.setBailedOut(true);
void TestLogic.finish();
}
} else {
await handleChar("\n", TestInput.input.current.length);
setWordsInput(" " + TestInput.input.current);
updateUI();
}
} else {
await handleChar("\n", TestInput.input.current.length);