summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server-fn.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-05-03 20:44:25 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-05-03 20:44:25 +0000
commit56ea0a7498e53a198c5dd1916a62bafc3df0e2a8 (patch)
treef95540670b620bfd8c4399d7229de83ce40c8185 /usr.bin/tmux/server-fn.c
parent25c1b5674b97d6ab3908886553e803d83bf9f948 (diff)
Allow panes to be empty (no command), output can be piped to them with
split-window or display-message -I.
Diffstat (limited to 'usr.bin/tmux/server-fn.c')
-rw-r--r--usr.bin/tmux/server-fn.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/server-fn.c b/usr.bin/tmux/server-fn.c
index f22e0419ed4..1795c5c03ef 100644
--- a/usr.bin/tmux/server-fn.c
+++ b/usr.bin/tmux/server-fn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-fn.c,v 1.120 2019/04/17 14:37:48 nicm Exp $ */
+/* $OpenBSD: server-fn.c,v 1.121 2019/05/03 20:44:24 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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);
}