From 187884937cd087e39a28c033c41033163d6b4766 Mon Sep 17 00:00:00 2001 From: Guangyao Ma Date: Thu, 29 Jul 2021 12:45:06 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=E4=BF=AE=E6=94=B9=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=AA=97=E5=8F=A3=E5=AE=BD=E5=BA=A6=E5=88=B0400"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 之前修改窗口宽度,为了适配流水线。流水线已经完成自适应,建议回退回80宽度。一方 面,shell显示更友好。一方面,在tty完成前,也没有更好的处理方法。 close #I42X9V This reverts commit 09c491ca1fd6d3110eafb0d07e45b25bdc3bd5d0. Change-Id: I17a4f4804c4530ee5b95ebf547771768ef254842 Signed-off-by: Guangyao Ma --- platform/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/console.c b/platform/console.c index 4e09335f..353e98c3 100644 --- a/platform/console.c +++ b/platform/console.c @@ -842,7 +842,7 @@ STATIC INT32 ConsoleSetSW(CONSOLE_CB *consoleCB, unsigned long arg) return LOS_OK; } -#define DEFAULT_WINDOW_SIZE_COL 400 +#define DEFAULT_WINDOW_SIZE_COL 80 #define DEFAULT_WINDOW_SIZE_ROW 24 STATIC INT32 ConsoleGetWinSize(unsigned long arg) {