mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-07 19:51:51 +09:00
6 lines
174 B
JavaScript
6 lines
174 B
JavaScript
println("Hit Ctrl-C or Ctrl-D to exit");
|
|
while (true) {
|
|
let keys = con.poll_keys()
|
|
println(keys);
|
|
if (keys[1] == 129 && (keys[0] == 31 || keys[0] == 32)) break;
|
|
} |