Send DSC 1000p at the beginning of a -CC client's lifetime and ST and

the end, from George Nachman.
This commit is contained in:
Nicholas Marriott
2013-03-25 10:03:24 +00:00
parent efa06643b0
commit 62db3c8efe
2 changed files with 11 additions and 1 deletions

View File

@ -957,6 +957,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;