chiark
/
gitweb
/
~ianmdlvl
/
sympathy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[sympathy.git]
/
src
/
terminal.c
diff --git
a/src/terminal.c
b/src/terminal.c
index 7bbc761080aa390b9c0944efaac8f0f9d446619f..03ac5d402b1a146fda1befbe9c4ece145ef74923 100644
(file)
--- a/
src/terminal.c
+++ b/
src/terminal.c
@@
-10,6
+10,9
@@
static char rcsid[] = "$Id$";
/*
* $Log$
/*
* $Log$
+ * Revision 1.5 2008/02/13 18:05:06 james
+ * *** empty log message ***
+ *
* Revision 1.4 2008/02/13 16:57:29 james
* *** empty log message ***
*
* Revision 1.4 2008/02/13 16:57:29 james
* *** empty log message ***
*
@@
-82,10
+85,11
@@
terminal_close (TTY * _t)
set_nonblocking (t->wfd);
set_nonblocking (t->wfd);
- t->xmit (t, "\033[r", 3);
- t->xmit (t, "\033[0m", 4);
+ t->xmit (
_
t, "\033[r", 3);
+ t->xmit (
_
t, "\033[0m", 4);
i = sprintf (buf, "\033[%d;%dH", CRT_ROWS + 1, 1);
i = sprintf (buf, "\033[%d;%dH", CRT_ROWS + 1, 1);
- t->xmit (t, buf, i);
+ t->xmit (_t, buf, i);
+ t->xmit (_t, "\033[J", 3);
set_blocking (t->rfd);
set_blocking (t->wfd);
set_blocking (t->rfd);
set_blocking (t->wfd);
@@
-149,7
+153,7
@@
terminal_dispatch (void)
terminal_winches = 0;
for (t = terminal_list; t; t = t->next)
terminal_winches = 0;
for (t = terminal_list; t; t = t->next)
- terminal_getsize (t);
+ terminal_getsize (
(TTY *)
t);
}
}