optimized echo for single chars during char input read
This commit is contained in:
parent
f67c073867
commit
b153be8075
@ -154,9 +154,8 @@ class WindowsTerminal extends Terminal {
|
||||
OUT.println();
|
||||
}
|
||||
else {
|
||||
OUT.print(asChar);
|
||||
OUT.write(asChar);
|
||||
}
|
||||
|
||||
// have to flush, otherwise we'll never see the chars on screen
|
||||
OUT.flush();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user