Changed restore_term to remove the Linux-specific escape sequence to restore
the cursor size, which is handled incorrectly by some terminal emulators.
This commit is contained in:
parent
5c668a88cb
commit
21d386d004
2
attach.c
2
attach.c
|
|
@ -44,7 +44,7 @@ restore_term(void)
|
||||||
tcsetattr(0, TCSADRAIN, &orig_term);
|
tcsetattr(0, TCSADRAIN, &orig_term);
|
||||||
|
|
||||||
/* Make cursor visible. Assumes VT100. */
|
/* Make cursor visible. Assumes VT100. */
|
||||||
printf("\033[?25h\033[?0c");
|
printf("\033[?25h");
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue