Fix: Temporary workaround for scrolling issue

This commit is contained in:
Manoj Ampalam 2016-09-30 22:26:43 -07:00
parent 6c94fae80a
commit 68250e4059
2 changed files with 2 additions and 2 deletions

View File

@ -828,7 +828,7 @@ do_exec_no_pty(Session *s, const char *command)
COORD coord;
coord.X = s->col;
coord.Y = s->row;
coord.Y = 9999;;
SetConsoleScreenBufferSize(GetStdHandle(STD_OUTPUT_HANDLE), coord);
}
}

View File

@ -215,7 +215,7 @@ pty_change_window_size(int ptyfd, u_int row, u_int col,
#else
COORD coord;
coord.X = col;
coord.Y = row;
coord.Y = 9999;
SetConsoleScreenBufferSize(GetStdHandle(STD_OUTPUT_HANDLE), coord);
#endif
}