ref: 1dc5f9222a0cddf21414f20731d791ffc0416599
parent: f308677510f208a3017f5169f80bb541acbd32c3
author: cinap_lenrek <[email protected]>
date: Sat May 20 10:45:47 EDT 2017
vt: don't flush while there is keyboard input available
--- a/sys/src/cmd/vt/main.c
+++ b/sys/src/cmd/vt/main.c
@@ -707,7 +707,8 @@
blocked = 0;
kbdchar = 0;
continue;
- }
+ } else if(nbrecv(kc->c, &kbdchar))
+ continue;
if(!blocked){
if(host_avail())
return(rcvchar());