aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-10-23 15:10:22 +0000
committerTiago Cunha <tcunha@gmx.com>2011-10-23 15:10:22 +0000
commit03ee7f7edf9d0d38ce2fc00b1137693fa857e8d8 (patch)
treecc841f52aa23908e7294e9f5dc98c66213933fec /tmux.h
parenta8ca1340ad1217a6512ce21586f05102c4000cc9 (diff)
downloadrtmux-03ee7f7edf9d0d38ce2fc00b1137693fa857e8d8.tar.gz
rtmux-03ee7f7edf9d0d38ce2fc00b1137693fa857e8d8.tar.bz2
rtmux-03ee7f7edf9d0d38ce2fc00b1137693fa857e8d8.zip
Sync OpenBSD patchset 969:
Support for \e[3J to clear the history. Also send the corresponding terminfo code (E3) before locking.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 2982039e..08650d51 100644
--- a/tmux.h
+++ b/tmux.h
@@ -202,6 +202,7 @@ enum tty_code_code {
TTYC_DIM, /* enter_dim_mode, mh */
TTYC_DL, /* parm_delete_line, DL */
TTYC_DL1, /* delete_line, dl */
+ TTYC_E3,
TTYC_EL, /* clr_eol, ce */
TTYC_EL1, /* clr_bol, cb */
TTYC_ENACS, /* ena_acs, eA */
@@ -1862,6 +1863,7 @@ void screen_write_kkeypadmode(struct screen_write_ctx *, int);
void screen_write_clearendofscreen(struct screen_write_ctx *);
void screen_write_clearstartofscreen(struct screen_write_ctx *);
void screen_write_clearscreen(struct screen_write_ctx *);
+void screen_write_clearhistory(struct screen_write_ctx *);
void screen_write_cell(struct screen_write_ctx *,
const struct grid_cell *, const struct utf8_data *);
void screen_write_setselection(struct screen_write_ctx *, u_char *, u_int);