X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=sympathy.git;a=blobdiff_plain;f=src%2Fptty.c;h=f8b6b9fced7c8467d1643399a257c789ff779022;hp=fba32022ae909916611fd0a6659f81bf5999eb00;hb=3e72a1f6fc28777c26e4fb109867bd2a3c7b89b0;hpb=a42924fd0dd9843cb1b0809f61b018d31e10042f diff --git a/src/ptty.c b/src/ptty.c index fba3202..f8b6b9f 100644 --- a/src/ptty.c +++ b/src/ptty.c @@ -10,6 +10,12 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.16 2008/02/28 16:57:52 james + * *** empty log message *** + * + * Revision 1.15 2008/02/27 09:42:53 james + * *** empty log message *** + * * Revision 1.14 2008/02/27 09:42:22 james * *** empty log message *** * @@ -146,7 +152,7 @@ ptty_write (TTY * _t, void *buf, int len) } TTY * -ptty_open (char *path, char *argv[], CRT_Pos *size) +ptty_open (char *path, char *argv[], CRT_Pos * size) { PTTY *t; pid_t child; @@ -158,7 +164,7 @@ ptty_open (char *path, char *argv[], CRT_Pos *size) client_termios (&ctermios); - winsize.ws_row = size ? size->y :VT102_ROWS; + winsize.ws_row = size ? size->y : VT102_ROWS_24; winsize.ws_col = size ? size->x : VT102_COLS_80; child = forkpty (&fd, name, &ctermios, &winsize);