diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-03-12 12:02:42 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-03-12 12:02:42 +0000 |
commit | 3ec05e940505f1d0b4e55413f949fdfaceddedde (patch) | |
tree | 843d754e76bb7386f39cb5743ab8de859e880ddd /input.c | |
parent | f8a30e158821876e8c30d46ab2728bce739e35de (diff) | |
parent | 3f6bfbaf2babcc7f08f628a82ff31b0b52014e58 (diff) | |
download | rtmux-3ec05e940505f1d0b4e55413f949fdfaceddedde.tar.gz rtmux-3ec05e940505f1d0b4e55413f949fdfaceddedde.tar.bz2 rtmux-3ec05e940505f1d0b4e55413f949fdfaceddedde.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -805,7 +805,7 @@ input_reset(struct window_pane *wp, int clear) input_reset_cell(ictx); if (clear) { - if (wp->mode == NULL) + if (TAILQ_EMPTY(&wp->modes)) screen_write_start(&ictx->ctx, wp, &wp->base); else screen_write_start(&ictx->ctx, NULL, &wp->base); @@ -861,7 +861,7 @@ input_parse(struct window_pane *wp) * Open the screen. Use NULL wp if there is a mode set as don't want to * update the tty. */ - if (wp->mode == NULL) + if (TAILQ_EMPTY(&wp->modes)) screen_write_start(&ictx->ctx, wp, &wp->base); else screen_write_start(&ictx->ctx, NULL, &wp->base); |