mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-05 17:30:27 +00:00
Clean up some code
This commit is contained in:
parent
531bfbd61f
commit
ed161b240e
17 changed files with 107 additions and 182 deletions
|
@ -2328,7 +2328,7 @@ static void OnKeyboardServiceReadKeyPress(void) {
|
|||
static char buf[32];
|
||||
static size_t pending;
|
||||
pty->conf |= kPtyBlinkcursor;
|
||||
if (!pending && !(pending = ReadAnsi(0, buf, sizeof(buf)))) {
|
||||
if (!pending && !(pending = ReadAnsi(ttyin, buf, sizeof(buf)))) {
|
||||
exitcode = 0;
|
||||
action |= EXIT;
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue