JLine 4.0.3
JLine 4.0.3
Bugfix release fixing output corruption on Windows when using Cygwin/MSYSTEM (Git Bash).
Bug Fixes
- Fix grapheme cluster probe corrupting output on Windows — On Windows with Cygwin/MSYSTEM (Git Bash), the DECRQM mode 2027 probe (
\e[?2027$p) was written to a rawFileDescriptor(stdout/stderr) rather than a real PTY device. When the output was piped (e.g. subprocess with captured output), this escape sequence leaked into the process output, corrupting downstream consumers. The probe is now skipped when theExecPtyoutput stream is not connected to a real terminal. Interactive Cygwin/MSYSTEM terminals that support mode 2027 are unaffected. (#1695)