Skip to content

Commit 68250e4

Browse files
committed
Fix: Temporary workaround for scrolling issue
1 parent 6c94fae commit 68250e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

session.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ do_exec_no_pty(Session *s, const char *command)
828828

829829
COORD coord;
830830
coord.X = s->col;
831-
coord.Y = s->row;
831+
coord.Y = 9999;;
832832
SetConsoleScreenBufferSize(GetStdHandle(STD_OUTPUT_HANDLE), coord);
833833
}
834834
}

sshpty.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ pty_change_window_size(int ptyfd, u_int row, u_int col,
215215
#else
216216
COORD coord;
217217
coord.X = col;
218-
coord.Y = row;
218+
coord.Y = 9999;
219219
SetConsoleScreenBufferSize(GetStdHandle(STD_OUTPUT_HANDLE), coord);
220220
#endif
221221
}

0 commit comments

Comments
 (0)