diff options
author | nicm <nicm> | 2019-05-03 20:44:24 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-05-03 20:44:24 +0000 |
commit | 9f75635596d0a01282156eb9e17fde6f4205c05c (patch) | |
tree | c2992361a46c5ed7a17c2f273d3e8aba5bc16480 /server-fn.c | |
parent | e8e4f4ec3e4de0bd0e4eb2a7ee995fb6f5f7f937 (diff) | |
download | rtmux-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-fn.c')
-rw-r--r-- | server-fn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server-fn.c b/server-fn.c index c4ff4aa9..372bf21d 100644 --- a/server-fn.c +++ b/server-fn.c @@ -439,7 +439,6 @@ server_check_unattached(void) } } -/* Set stdin callback. */ int server_set_stdin_callback(struct client *c, void (*cb)(struct client *, int, void *), void *cb_data, char **cause) @@ -453,7 +452,7 @@ server_set_stdin_callback(struct client *c, void (*cb)(struct client *, int, return (-1); } if (c->stdin_callback != NULL) { - *cause = xstrdup("stdin in use"); + *cause = xstrdup("stdin is in use"); return (-1); } |