summaryrefslogtreecommitdiffhomepage
path: root/cli-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli-session.c')
-rw-r--r--cli-session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli-session.c b/cli-session.c
index b126b27..258d5c4 100644
--- a/cli-session.c
+++ b/cli-session.c
@@ -76,6 +76,8 @@ static void cli_session_init() {
cli_ses.state = STATE_NOTHING;
cli_ses.kex_state = KEX_NOTHING;
+ cli_ses.tty_raw_mode = 0;
+
/* For printing "remote host closed" for the user */
ses.remoteclosed = cli_remoteclosed;
ses.buf_match_algo = cli_buf_match_algo;