mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
added window-size change handling
--HG-- extra : convert_revision : 93a39c7b76f478035046b9c6f88af54612cce36f
This commit is contained in:
@@ -80,6 +80,7 @@ static void cli_session_init() {
|
||||
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 @@ static void cli_sessionloop() {
|
||||
if (ses.chancount < 1) {
|
||||
cli_finished();
|
||||
}
|
||||
|
||||
if (cli_ses.winchange) {
|
||||
cli_chansess_winchange();
|
||||
}
|
||||
return;
|
||||
|
||||
/* XXX more here needed */
|
||||
|
||||
Reference in New Issue
Block a user