Pass suspend key (ctrl+z) to underlying application

This commit is contained in:
Marc André Tanner 2014-02-25 20:35:33 +01:00
parent 96e37153e0
commit 42bcd723bd
1 changed files with 0 additions and 9 deletions

View File

@ -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);
}