fix: remove un-necessary logs

This commit is contained in:
Shengliang Guan 2022-04-25 10:53:06 +08:00
parent 5f370a1dcc
commit 3d9e27edb8
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ void shellClearScreen(int32_t ecmd_pos, int32_t cursor_pos) {
void shellShowOnScreen(SShellCmd *cmd) {
struct winsize w;
if (ioctl(0, TIOCGWINSZ, &w) < 0 || w.ws_col == 0 || w.ws_row == 0) {
fprintf(stderr, "No stream device\n");
// fprintf(stderr, "No stream device\n");
w.ws_col = 120;
w.ws_row = 30;
}