artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db6014e
)
Clear history on RIS like most other terminals do.
author
nicm
<nicm@openbsd.org>
Tue, 31 Jul 2018 10:32:19 +0000
(10:32 +0000)
committer
nicm
<nicm@openbsd.org>
Tue, 31 Jul 2018 10:32:19 +0000
(10:32 +0000)
usr.bin/tmux/input.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/input.c
b/usr.bin/tmux/input.c
index
cfe2577
..
0e29839
100644
(file)
--- a/
usr.bin/tmux/input.c
+++ b/
usr.bin/tmux/input.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: input.c,v 1.13
4 2018/04/10 11:20:15
nicm Exp $ */
+/* $OpenBSD: input.c,v 1.13
5 2018/07/31 10:32:19
nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-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);