From 208881a735669d854b132629eedb463ea9c01420 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 4 Mar 2013 08:52:41 +0000 Subject: Send DSC 1000p at the beginning of a -CC client's lifetime and ST and the end, from George Nachman.. --- server-client.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server-client.c') diff --git a/server-client.c b/server-client.c index fd729b70..b905a7c7 100644 --- a/server-client.c +++ b/server-client.c @@ -956,6 +956,8 @@ server_client_msg_identify( if (data->flags & IDENTIFY_CONTROL) { c->stdin_callback = control_callback; c->flags |= CLIENT_CONTROL; + if (data->flags & IDENTIFY_TERMIOS) + evbuffer_add_printf(c->stdout_data, "\033P1000p"); server_write_client(c, MSG_STDIN, NULL, 0); c->tty.fd = -1; -- cgit