Re: [PATCH v2 1/4] Cygwin: console: Add workaround for broken IL/DL in xterm mode.

2020-02-27 Thread Takashi Yano
On Thu, 27 Feb 2020 18:03:47 + Jon Turney wrote: > > +#define wpbuf_put(x) \ > > + wpbuf[wpixput++] = x; \ > > + if (wpixput > WPBUF_LEN) \ > > +wpixput--; > > + > > So I think either the macro need it contents contained by a 'do { ... } > while(0)', or that instance of it needs to be

Re: [PATCH v2 1/4] Cygwin: console: Add workaround for broken IL/DL in xterm mode.

2020-02-27 Thread Jon Turney
On 26/02/2020 15:32, Takashi Yano wrote: - Cygwin console with xterm compatible mode causes problem reported in https://www.cygwin.com/ml/cygwin-patches/2020-q1/msg00212.html if background/foreground colors are set to gray/black respectively in Win10 1903/1909. This is caused by "CSI Ps