window: after we're done with readline, return EOF instead of 0
This commit is contained in:
committed by
Andrzej Rybczak
parent
d7998ef144
commit
c507889d8c
@@ -64,7 +64,7 @@ int read_key(FILE *)
|
||||
if (done)
|
||||
{
|
||||
rl_done = 1;
|
||||
return 0;
|
||||
return EOF;
|
||||
}
|
||||
w->goToXY(x, start_y);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user