From 84082f69cde6dcea14631fd35e6edcb8984c6d20 Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Sun, 14 Aug 2011 02:46:34 -0400 Subject: [PATCH] Fix typo in resize --- stm-server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stm-server.cpp b/stm-server.cpp index f7812da..b84f4ec 100644 --- a/stm-server.cpp +++ b/stm-server.cpp @@ -158,7 +158,7 @@ void serve( int host_fd ) /* tell child process of resize */ const Parser::Resize *res = static_cast( us.get_action( i ) ); window_size.ws_col = res->width; - window_size.ws_col = res->height; + window_size.ws_row = res->height; if ( ioctl( host_fd, TIOCSWINSZ, &window_size ) < 0 ) { perror( "ioctl TIOCSWINSZ" ); return;