Skip to content
Snippets Groups Projects
Commit 4e66e937 authored by deuce's avatar deuce
Browse files

Fix possible 100% CPU bug.

parent 9120371e
Branches
Tags
No related merge requests found
...@@ -1223,6 +1223,9 @@ function Screen_update() { ...@@ -1223,6 +1223,9 @@ function Screen_update() {
if(key!="") { if(key!="") {
this.handle_key(key); this.handle_key(key);
} }
else {
sleep(1);
}
} }
function Screen_handle_key(key) { function Screen_handle_key(key) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment