From 42bcd723bde9d161f3c4c2e6fce2ee48910e7e95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 25 Feb 2014 20:35:33 +0100 Subject: [PATCH] Pass suspend key (ctrl+z) to underlying application --- client.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/client.c b/client.c index 5b9ae2c..93363a0 100644 --- 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); }