mirror of https://github.com/martanne/abduco
Mouse CSI if Flag selected
This commit is contained in:
parent
07edd619ee
commit
90282c41f6
4
client.c
4
client.c
|
|
@ -47,7 +47,9 @@ 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 (mouse) {
|
||||
printf("\x1b[?1002h\x1b[?1006h");
|
||||
}
|
||||
|
||||
if (!alternate_buffer) {
|
||||
printf("\033[?1049h\033[H");
|
||||
|
|
|
|||
Loading…
Reference in New Issue