diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-10-06 13:33:32 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-10-06 13:33:32 +0100 |
commit | 2be01ab4ec95b147d4a779f72872099e5d466fde (patch) | |
tree | 0cb31291a023799d53a7fd702a602e89be4163ce /input.c | |
parent | 8aaf86a6ead9852631342d0d2d526a7eaede15cf (diff) | |
parent | b462063cd59647e7f98eb11bde9bb0fef41bb2bd (diff) | |
download | rtmux-2be01ab4ec95b147d4a779f72872099e5d466fde.tar.gz rtmux-2be01ab4ec95b147d4a779f72872099e5d466fde.tar.bz2 rtmux-2be01ab4ec95b147d4a779f72872099e5d466fde.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -1693,11 +1693,32 @@ input_csi_dispatch_winops(struct input_ctx *ictx) /* FALLTHROUGH */ case 9: case 10: + m++; + if (input_get(ictx, m, 0, -1) == -1) + return; + break; case 22: + m++; + switch (input_get(ictx, m, 0, -1)) { + case -1: + return; + case 0: + case 2: + screen_push_title(ictx->ctx.s); + break; + } + break; case 23: m++; - if (input_get(ictx, m, 0, -1) == -1) + switch (input_get(ictx, m, 0, -1)) { + case -1: return; + case 0: + case 2: + screen_pop_title(ictx->ctx.s); + server_status_window(ictx->wp->window); + break; + } break; case 18: input_reply(ictx, "\033[8;%u;%ut", wp->sy, wp->sx); |