[PATCH] Cygwin: pty: Disable clear screen for ssh sessions with -t option.
Takashi Yano
takashi.yano@nifty.ne.jp
Tue Oct 22 07:23:00 GMT 2019
On Tue, 22 Oct 2019 08:55:06 +0200
Corinna Vinschen wrote:
> On Oct 22 09:09, Takashi Yano wrote:
> > I confirmed the dwSize has right screen size and dwCursorPosition
> > is (0,0) just after creating pty even though the cursor position
> > in real screen is not at top left.
> >
> > Clearing screen fixes this mismatch.
>
> And calling SetConsoleCursorPosition instead does not?
For SetConsoleCursorPosition, it is necessary to know the cursor
position of course. I cannot come up with any other way than
using ANSI escape sequence "ESC[6n". Do you think this is
feasible?
--
Takashi Yano <takashi.yano@nifty.ne.jp>
More information about the Cygwin-patches
mailing list