version 1.78, 2012/07/11 07:10:15 |
version 1.79, 2012/09/03 09:32:38 |
|
|
struct window_pane *wp; |
struct window_pane *wp; |
int flags, redraw; |
int flags, redraw; |
|
|
|
if (c->flags & CLIENT_SUSPENDED) |
|
return; |
|
|
flags = c->tty.flags & TTY_FREEZE; |
flags = c->tty.flags & TTY_FREEZE; |
c->tty.flags &= ~TTY_FREEZE; |
c->tty.flags &= ~TTY_FREEZE; |
|
|
|
|
if (data->flags & IDENTIFY_CONTROL) { |
if (data->flags & IDENTIFY_CONTROL) { |
c->stdin_callback = control_callback; |
c->stdin_callback = control_callback; |
c->flags |= (CLIENT_CONTROL|CLIENT_SUSPENDED); |
c->flags |= (CLIENT_CONTROL|CLIENT_SUSPENDED); |
|
server_write_client(c, MSG_STDIN, NULL, 0); |
|
|
c->tty.fd = -1; |
c->tty.fd = -1; |
c->tty.log_fd = -1; |
c->tty.log_fd = -1; |