[PATCH] Cygwin: pty: Trigger redraw screen if ESC[?3h or ESC[?3l is sent.
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Nov 15 12:09:00 GMT 2019
On Nov 14 20:51, Takashi Yano wrote:
> Hi Corinna,
>
> On Thu, 14 Nov 2019 10:35:41 +0100
> Corinna Vinschen wrote:
> > This is only correct if xterm hasn't been started with the c132 widget
> > resource set to 'true'. This resource specifies whether the ESC[?3h
> > and ESC[?3l ESC sequences are honored or not. The default is 'false'.
> >
> > However, if you specify the c132 resource, or if you start xterm
> > with the commandline option -132, it will resize when these sequences
> > are sent. And here's the joke: The resize also clears the screen
> > in xterm.
>
> Thanks for the information.
>
> > My question now is, does this change anything in terms of the below
> > code, or is it still valid as is?
>
> It still valid as is. Bacause, if -132 option is specified and the
> real sreen is cleared by ESC[?3h and ESC[?3l, mismatch does not occur.
> In this case, this patch tries to synchronize the real screen with
> the console screen buffer in spite that they are already synchronized,
> but there should be no side effects.
Great, thanks. Patch pushed.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20191115/39a9f46d/attachment.sig>
More information about the Cygwin-patches
mailing list