Re: BUG #16108: Colorization to the output of command-line has unproperly behaviors at Windows platform

Michail Nikolaev <michail.nikolaev@gmail.com>

From: Michail Nikolaev <michail.nikolaev@gmail.com>
To: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
Cc: "Tang, Haiying" <tanghy.fnst@cn.fujitsu.com>, Thomas Munro <thomas.munro@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-02-18T23:01:38Z
Lists: pgsql-bugs, pgsql-hackers
P.S.

Also, should we enable vt100 mode in case of PG_COLOR=always? I think yes.

Commits

  1. Fix command-line colorization on Windows with VT100-compatible environments