mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-14 23:16:06 +09:00
11 lines
252 B
JavaScript
11 lines
252 B
JavaScript
function hitCtrlQ(keys) {
|
|
return (keys[0] == 45 && (keys[1] == 129 || keys[1] == 130));
|
|
}
|
|
|
|
println("Hit Ctrl+Shift+T+R to exit")
|
|
|
|
while (true) {
|
|
con.scankeys((char, keys, counter) => {
|
|
println(`${keys}\t'${char}' (${counter})`)
|
|
})
|
|
} |