window: after we're done with readline, return EOF instead of 0

This commit is contained in:
Benoit Pierre authored and Andrzej Rybczak committed 2015-02-04 17:46:44 +01:00
1 parent d7998ef144
commit c507889d8c
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ int read_key(FILE *)
if (done)
{
rl_done = 1;
return 0;
return EOF;
}
w->goToXY(x, start_y);
}