Browse Source

Send winch to server in any case

Serj Kalichev 6 months ago
parent
commit
0403d74c09
1 changed files with 1 additions and 2 deletions
  1. 1 2
      bin/klish/klish.c

+ 1 - 2
bin/klish/klish.c

@@ -438,8 +438,7 @@ bool_t auth_ack_cb(ktp_session_t *ktp, const faux_msg_t *msg, void *udata)
 		return BOOL_FALSE;
 	}
 
-	if (isatty(STDIN_FILENO))
-		send_winch_notification(ctx);
+	send_winch_notification(ctx);
 
 	if (ctx->mode == MODE_INTERACTIVE) {
 		// Print prompt for interactive command