aboutsummaryrefslogtreecommitdiff
path: root/server-client.c
diff options
context:
space:
mode:
authornicm <nicm>2019-05-03 20:44:24 +0000
committernicm <nicm>2019-05-03 20:44:24 +0000
commit9f75635596d0a01282156eb9e17fde6f4205c05c (patch)
treec2992361a46c5ed7a17c2f273d3e8aba5bc16480 /server-client.c
parente8e4f4ec3e4de0bd0e4eb2a7ee995fb6f5f7f937 (diff)
downloadrtmux-9f75635596d0a01282156eb9e17fde6f4205c05c.tar.gz
rtmux-9f75635596d0a01282156eb9e17fde6f4205c05c.tar.bz2
rtmux-9f75635596d0a01282156eb9e17fde6f4205c05c.zip
Allow panes to be empty (no command), output can be piped to them with
split-window or display-message -I.
Diffstat (limited to 'server-client.c')
-rw-r--r--server-client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/server-client.c b/server-client.c
index 78e12b19..13a589ef 100644
--- a/server-client.c
+++ b/server-client.c
@@ -1671,8 +1671,7 @@ server_client_dispatch(struct imsg *imsg, void *arg)
evbuffer_add(c->stdin_data, stdindata.data,
stdindata.size);
}
- c->stdin_callback(c, c->stdin_closed,
- c->stdin_callback_data);
+ c->stdin_callback(c, c->stdin_closed, c->stdin_callback_data);
break;
case MSG_RESIZE:
if (datalen != 0)