i3bar: Bugfix: When receiving EOF, immediately redraw and discard input
This commit is contained in:
parent
9c587a767c
commit
39cff5c31f
|
@ -82,7 +82,8 @@ void stdin_io_cb(struct ev_loop *loop, ev_io *watcher, int revents) {
|
|||
/* end of file, kill the watcher */
|
||||
ELOG("stdin: received EOF\n");
|
||||
cleanup();
|
||||
break;
|
||||
draw_bars();
|
||||
return;
|
||||
}
|
||||
rec += n;
|
||||
|
||||
|
|
Loading…
Reference in New Issue