This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Cygwin: pty: Trigger redraw screen if ESC[?3h or ESC[?3l is sent.


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.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]