From b426681e70c917fac275931a1a145e66e899c033 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. --- usr.bin/tmux/input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c index cfe2577d579..0e29839fe42 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.134 2018/04/10 11:20:15 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.135 2018/07/31 10:32:19 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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); -- 2.20.1