Allow panes to be empty (no command), output can be piped to them with

split-window or display-message -I.
This commit is contained in:
nicm
2019-05-03 20:44:24 +00:00
parent e8e4f4ec3e
commit 9f75635596
10 changed files with 144 additions and 34 deletions

View File

@ -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)