Keyboard input/Keypress check: Difference between revisions
J
(→{{header|C}}: flush stdin and stdout before reading a keypress) |
(J) |
||
Line 923:
write("No input waiting")
end</lang>
=={{header|J}}==
(Note that keypress handling depends on the host. Here, we illustrate jqt.)
<lang J>wd{{)n
pc p closeok;
cc c isidraw;
pshow;
}}
p_c_char=: {{variable=: sysdata}}</lang>
=={{header|Java}}==
|