diff options
author | Tiago Cunha <tcunha@gmx.com> | 2011-10-23 15:10:22 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2011-10-23 15:10:22 +0000 |
commit | 03ee7f7edf9d0d38ce2fc00b1137693fa857e8d8 (patch) | |
tree | cc841f52aa23908e7294e9f5dc98c66213933fec /server-fn.c | |
parent | a8ca1340ad1217a6512ce21586f05102c4000cc9 (diff) | |
download | rtmux-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 'server-fn.c')
-rw-r--r-- | server-fn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server-fn.c b/server-fn.c index fe4330de..eb54b679 100644 --- a/server-fn.c +++ b/server-fn.c @@ -237,6 +237,7 @@ server_lock_client(struct client *c) tty_stop_tty(&c->tty); tty_raw(&c->tty, tty_term_string(c->tty.term, TTYC_SMCUP)); tty_raw(&c->tty, tty_term_string(c->tty.term, TTYC_CLEAR)); + tty_raw(&c->tty, tty_term_string(c->tty.term, TTYC_E3)); c->flags |= CLIENT_SUSPENDED; server_write_client(c, MSG_LOCK, &lockdata, sizeof lockdata); |