浏览代码

Send winch to server in any case

Serj Kalichev 7 月之前
父节点
当前提交
0403d74c09
共有 1 个文件被更改,包括 1 次插入2 次删除
  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