Update client.c

This commit is contained in:
Brandon Shockley 2021-08-02 15:42:01 -04:00 committed by GitHub
parent 8c32909a15
commit 307dfe94d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ static void client_setup_terminal(void) {
cur_term.c_cc[VMIN] = 1;
cur_term.c_cc[VTIME] = 0;
tcsetattr(STDIN_FILENO, TCSANOW, &cur_term);
printf("\x1b[?1002h\x1b[?1006h");
if (!alternate_buffer) {
printf("\033[?1049h\033[H");