diff options
author | nicm <nicm> | 2023-01-08 22:17:04 +0000 |
---|---|---|
committer | nicm <nicm> | 2023-01-08 22:17:04 +0000 |
commit | 7c0789d2d2721b70e04fe6a589f644797d2b5e1f (patch) | |
tree | 16b622d5424938054613b1c4e4426956ee344b58 | |
parent | 7ced0a03d2ff51274d5fa5fb6eeaa6f4aac9f2f4 (diff) | |
download | rtmux-7c0789d2d2721b70e04fe6a589f644797d2b5e1f.tar.gz rtmux-7c0789d2d2721b70e04fe6a589f644797d2b5e1f.tar.bz2 rtmux-7c0789d2d2721b70e04fe6a589f644797d2b5e1f.zip |
Have client return 1 if process is interrupted to an input pane.
-rw-r--r-- | window.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1535,8 +1535,10 @@ window_pane_input_callback(struct client *c, __unused const char *path, wp = window_pane_find_by_id(cdata->wp); if (cdata->file != NULL && (wp == NULL || c->flags & CLIENT_DEAD)) { - if (wp == NULL) + if (wp == NULL) { + c->retval = 1; c->flags |= CLIENT_EXIT; + } file_cancel(cdata->file); } else if (cdata->file == NULL || closed || error != 0) { cmdq_continue(cdata->item); |