aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-04-17 21:48:56 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-04-17 21:48:56 +0200
commit5b9dadcc5821c347da6da4ad6a1869e142f499e6 (patch)
tree99ad6ea0867befcf8308bd5e940eca0f7f870a86
parent7fed628d586117dd987947eb7eb22a430290f88c (diff)
downloadxK-5b9dadcc5821c347da6da4ad6a1869e142f499e6.tar.gz
xK-5b9dadcc5821c347da6da4ad6a1869e142f499e6.tar.xz
xK-5b9dadcc5821c347da6da4ad6a1869e142f499e6.zip
degesch: leak lines from related buffers
-rw-r--r--degesch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index 998f58a..b1ec7fd 100644
--- a/degesch.c
+++ b/degesch.c
@@ -798,6 +798,10 @@ buffer_send (struct app_context *ctx, struct buffer *buffer,
if (buffer == ctx->current_buffer)
buffer_line_display (ctx, line);
+ else if (!ctx->isolate_buffers &&
+ (buffer == ctx->global_buffer || buffer == ctx->server_buffer))
+ // TODO: show this in another color or something
+ buffer_line_display (ctx, line);
}
static struct buffer *