Skip to content
Snippets Groups Projects
Commit 71f7d2b6 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add a timeout to checking if pixels work

For when I break SyncTERM.
parent fabef9ea
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,9 @@ function pixel_capability()
var optval = 0;
for(;;) {
ch = console.getbyte();
ch = console.getbyte(1000);
if (ch == null)
break;
switch(state) {
case 0:
if (ch == 0x1b) { // ESC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment