mirror of
https://github.com/remko/waforth
synced 2025-01-19 22:26:17 +01:00
shell: avoid scroll on space
This commit is contained in:
parent
4fe9471c66
commit
48dfdd00aa
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ function startConsole() {
|
|||
} else {
|
||||
console.log("ignoring key %s", ev.key);
|
||||
}
|
||||
if (ev.key === " ") {
|
||||
ev.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
document.addEventListener("paste", (event) => {
|
||||
|
|
Loading…
Reference in a new issue