From 03ee7f7edf9d0d38ce2fc00b1137693fa857e8d8 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 23 Oct 2011 15:10:22 +0000 Subject: Sync OpenBSD patchset 969: Support for \e[3J to clear the history. Also send the corresponding terminfo code (E3) before locking. --- tmux.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tmux.h') 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); -- cgit