Clear history on RIS like most other terminals do.

pull/1434/head
nicm 2018-07-31 10:32:19 +00:00
parent b21a710de7
commit 80bdd89856
1 changed files with 1 additions and 0 deletions

View File

@ -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);