abduco

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit 42bcd723bde9d161f3c4c2e6fce2ee48910e7e95
parent 96e37153e08d12f1bea4d02d41daf4cd650b2fc0
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Tue, 25 Feb 2014 20:35:33 +0100

Pass suspend key (ctrl+z) to underlying application

Diffstat:
client.c | 9---------
1 file changed, 0 insertions(+), 9 deletions(-)

diff --git a/client.c b/client.c @@ -123,15 +123,6 @@ static int client_mainloop() { pkt.type = MSG_DETACH; client_send_packet(&pkt); return -1; - } else if (pkt.u.msg[0] == cur_term.c_cc[VSUSP]) { - pkt.type = MSG_DETACH; - client_send_packet(&pkt); - tcsetattr(0, TCSADRAIN, &orig_term); - client_show_cursor(); - info(NULL); - kill(getpid(), SIGTSTP); - tcsetattr(0, TCSADRAIN, &cur_term); - client.need_resize = true; } else { client_send_packet(&pkt); }