summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authornicm <nicm>2018-07-31 10:32:19 +0000
committernicm <nicm>2018-07-31 10:32:19 +0000
commit80bdd898560db81baa1430e0b093b896a09b542e (patch)
treebd72fdac85b299cfc8d9a9afd0bb691e332ce3cd /input.c
parentb21a710de7344132fb9f770e20965a34dacd8696 (diff)
Clear history on RIS like most other terminals do.
Diffstat (limited to 'input.c')
-rw-r--r--input.c1
1 files changed, 1 insertions, 0 deletions
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);