mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-09 22:54:03 +09:00
keyevent reading moved to the tvdos itself
This commit is contained in:
@@ -5,7 +5,7 @@ function hitCtrlQ(keys) {
|
||||
println("Hit Ctrl+Shift+T+R to exit")
|
||||
|
||||
while (true) {
|
||||
con.scankeys((char, keys, counter) => {
|
||||
println(`${keys}\t'${char}' (${counter})`)
|
||||
input.withEvent(event => {
|
||||
println(event)
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user