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

From: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: PG Bug reporting form <noreply(at)postgresql(dot)org>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>, tanghy(dot)fnst(at)cn(dot)fujitsu(dot)com
Subject: Re: BUG #16108: Colorization to the output of command-line has unproperly behaviors at Windows platform
Date: 2019-11-12 18:59:35
Message-ID: CAC+AXB2LDsO_vB-yNW8b9VBW=onGPwJiUuxAQ23TDcm8JbJ8NQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Tue, Nov 12, 2019 at 9:39 AM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:

>
> ... I wonder if it works if you use the new Windows Terminal, and I
> wonder if it would work on the older thing if we used the
> SetConsoleMode() flag it mentions.
>
>
In order to make it work both things are needed, setting the console mode
and a terminal that supports it. Please find attached a patch for so.

Regards,

Juan José Santamaría Flecha

Attachment Content-Type Size
0001-command-line-colorization-on-windows.patch application/octet-stream 1.1 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2019-11-12 20:10:46 Re: [BUG FIX] Uninitialized var fargtypes used.
Previous Message Tom Lane 2019-11-12 18:07:14 Re: BUG #16106: Patch - Radius secrets always gets lowercased

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-11-12 19:00:46 Re: Proposal: Add more compile-time asserts to expose inconsistencies.
Previous Message Andres Freund 2019-11-12 18:33:16 Re: Ought to use heap_multi_insert() for pg_attribute/depend insertions?