On Jan 1 15:52, Takashi Yano wrote: > - In Win10 1809, the cursor position sometimes goes out of screen > by clear command in console. This seems to be caused by escape > sequence CSI3J (ESC[3J). This happens only for 1809. This patch > is a workaround for the issue. > --- > winsup/cygwin/fhandler_console.cc | 12 +++++++++ > winsup/cygwin/wincap.cc | 41 ++++++++++++++++++++++++++++++- > winsup/cygwin/wincap.h | 2 ++ > 3 files changed, 54 insertions(+), 1 deletion(-) > > diff --git a/winsup/cygwin/fhandler_console.cc > b/winsup/cygwin/fhandler_console.cc > index e4e21e65e..30b9165ca 100644 > --- a/winsup/cygwin/fhandler_console.cc > +++ b/winsup/cygwin/fhandler_console.cc > @@ -1667,6 +1667,18 @@ bool fhandler_console::write_console (PWCHAR buf, > DWORD len, DWORD& done) > if (wincap.has_con_24bit_colors () && !con_is_legacy > && memmem (buf, len*sizeof (WCHAR), L"\033[?1049", 7*sizeof (WCHAR))) > need_fix_tab_position = true; > + /* Workaround for broken CSI3J (ESC[3J) support in kterm compatible mode. > */ ^^^^^ xterm?
Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer
signature.asc
Description: PGP signature