Do not write '*** kak: fifo closed ***' in buffers

The status line '[fifo]' flag should replace that
This commit is contained in:
Maxime Coste 2014-07-07 20:13:33 +01:00
parent 55866b51d7
commit c6df0c9174

View File

@ -44,8 +44,7 @@ Buffer* create_fifo_buffer(String name, int fd, bool scroll)
if (prevent_scrolling) if (prevent_scrolling)
++pos; ++pos;
buffer->insert(pos, count > 0 ? String(data, data+count) buffer->insert(pos, String(data, data+count));
: "*** kak: fifo closed ***\n");
if (count > 0 and prevent_scrolling) if (count > 0 and prevent_scrolling)
{ {