diff cli-session.c @ 41:18eccbfb9641

added window-size change handling
author Matt Johnston <matt@ucc.asn.au>
date Sun, 01 Aug 2004 09:41:37 +0000
parents b4874d772210
children 942b22d7dd1c
line wrap: on
line diff
--- a/cli-session.c	Sun Aug 01 08:54:01 2004 +0000
+++ b/cli-session.c	Sun Aug 01 09:41:37 2004 +0000
@@ -80,6 +80,7 @@
 	cli_ses.kex_state = KEX_NOTHING;
 
 	cli_ses.tty_raw_mode = 0;
+	cli_ses.winchange = 0;
 
 	/* For printing "remote host closed" for the user */
 	ses.remoteclosed = cli_remoteclosed;
@@ -170,6 +171,10 @@
 			if (ses.chancount < 1) {
 				cli_finished();
 			}
+
+			if (cli_ses.winchange) {
+				cli_chansess_winchange();
+			}
 			return;
 
 		/* XXX more here needed */