diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-01-18 12:01:22 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-01-18 12:01:22 +0000 |
commit | 66da51b6310baf408d805e0ec2f36f35bdb85339 (patch) | |
tree | 8633c0e880c267e4ce55729b69149e837e658a61 /tty.c | |
parent | 3c86fa2ad0b7815c8f26618aefee24cb6d17cddb (diff) | |
parent | 91d112bf12789da07e25ed001f7961b1d6bd7a76 (diff) | |
download | rtmux-66da51b6310baf408d805e0ec2f36f35bdb85339.tar.gz rtmux-66da51b6310baf408d805e0ec2f36f35bdb85339.tar.bz2 rtmux-66da51b6310baf408d805e0ec2f36f35bdb85339.zip |
Merge branch 'obsd-master' into master
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -1531,20 +1531,9 @@ tty_cmd_deletecharacter(struct tty *tty, const struct tty_ctx *ctx) void tty_cmd_clearcharacter(struct tty *tty, const struct tty_ctx *ctx) { - if (ctx->bigger) { - tty_draw_pane(tty, ctx, ctx->ocy); - return; - } - tty_default_attributes(tty, &ctx->defaults, ctx->palette, ctx->bg); - tty_cursor_pane(tty, ctx, ctx->ocx, ctx->ocy); - - if (tty_term_has(tty->term, TTYC_ECH) && - !tty_fake_bce(tty, &ctx->defaults, 8)) - tty_putcode1(tty, TTYC_ECH, ctx->num); - else - tty_repeat_space(tty, ctx->num); + tty_clear_pane_line(tty, ctx, ctx->ocy, ctx->ocx, ctx->num, ctx->bg); } void |