From c6df0c91746b8ba785d7983b44b253f997703387 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 7 Jul 2014 20:13:33 +0100 Subject: [PATCH] Do not write '*** kak: fifo closed ***' in buffers The status line '[fifo]' flag should replace that --- src/buffer_utils.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/buffer_utils.cc b/src/buffer_utils.cc index 5eeb188f..7e9b7316 100644 --- a/src/buffer_utils.cc +++ b/src/buffer_utils.cc @@ -44,8 +44,7 @@ Buffer* create_fifo_buffer(String name, int fd, bool scroll) if (prevent_scrolling) ++pos; - buffer->insert(pos, count > 0 ? String(data, data+count) - : "*** kak: fifo closed ***\n"); + buffer->insert(pos, String(data, data+count)); if (count > 0 and prevent_scrolling) {