From 80bdd898560db81baa1430e0b093b896a09b542e Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 31 Jul 2018 10:32:19 +0000 Subject: [PATCH] Clear history on RIS like most other terminals do. --- input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/input.c b/input.c index df8b6ec7..741e83d6 100644 --- a/input.c +++ b/input.c @@ -1188,6 +1188,7 @@ input_esc_dispatch(struct input_ctx *ictx) window_pane_reset_palette(ictx->wp); input_reset_cell(ictx); screen_write_reset(sctx); + screen_write_clearhistory(sctx); break; case INPUT_ESC_IND: screen_write_linefeed(sctx, 0, ictx->cell.cell.bg);