Cygwin: console: Add workaround for broken CSI3J in Win10 1809.

- 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.
This commit is contained in:
Takashi Yano
2020-01-14 10:53:59 +09:00
committed by Corinna Vinschen
parent d7478090d6
commit f03806b68a
3 changed files with 54 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ struct wincaps
unsigned has_posix_rename_semantics : 1;
unsigned no_msv1_0_s4u_logon_in_wow64 : 1;
unsigned has_con_24bit_colors : 1;
unsigned has_con_broken_csi3j : 1;
};
};
@@ -95,6 +96,7 @@ public:
bool IMPLEMENT (has_posix_rename_semantics)
bool IMPLEMENT (no_msv1_0_s4u_logon_in_wow64)
bool IMPLEMENT (has_con_24bit_colors)
bool IMPLEMENT (has_con_broken_csi3j)
void disable_case_sensitive_dirs ()
{