aboutsummaryrefslogtreecommitdiffstats
path: root/src/ptty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptty.c')
-rw-r--r--src/ptty.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ptty.c b/src/ptty.c
index 3be35f2..f8b6b9f 100644
--- a/src/ptty.c
+++ b/src/ptty.c
@@ -10,6 +10,9 @@ 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 ***
*
@@ -161,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);