summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed T. Crigler <crigler@users.sourceforge.net>2004-08-25 23:31:06 +0000
committerNed T. Crigler <crigler@users.sourceforge.net>2004-08-25 23:31:06 +0000
commit21d386d004e02481f7266f5b921bcecef6533371 (patch)
tree9e9ad78378ea707c0b325b1c64ecc14d61ee2d1b
parent5c668a88cb3f73c215c96b391b83c53c6903fddd (diff)
Changed restore_term to remove the Linux-specific escape sequence to restore
the cursor size, which is handled incorrectly by some terminal emulators.
-rw-r--r--attach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attach.c b/attach.c
index bdb94b7..6a7713b 100644
--- a/attach.c
+++ b/attach.c
@@ -44,7 +44,7 @@ restore_term(void)
tcsetattr(0, TCSADRAIN, &orig_term);
/* Make cursor visible. Assumes VT100. */
- printf("\033[?25h\033[?0c");
+ printf("\033[?25h");
fflush(stdout);
}