[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Colored output
From: |
Bruno Haible |
Subject: |
Re: Colored output |
Date: |
Thu, 14 Feb 2019 23:01:30 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; ) |
Hi Akim,
> I'm not sure handle_color_option works as expected. I always (independently
> of the argument of the option, and independently of whether the output is a
> tty) get colored output on Bison (https://github.com/akimd/bison/pull/5), but
> also in the two examples of libtextstyle.
Oops, right. The application code must evaluate the condition whether to
actually turn the styling on or off. (It's an application dependent condition.)
For the samples, I've fixed it like this:
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=ae8dc3bc9789b7077e0e2569058e15987e4be42c
Will update the documentation shortly.
Bruno
- Re: Colored output, Bruno Haible, 2019/02/10
- Re: Colored output, Jose E. Marchesi, 2019/02/10
- Re: Colored output, Akim Demaille, 2019/02/11
- Re: Colored output, Bruno Haible, 2019/02/12
- Re: Colored output, Akim Demaille, 2019/02/13
- Re: Colored output, Bruno Haible, 2019/02/13
- Re: Colored output, Akim Demaille, 2019/02/14
- Re: Colored output,
Bruno Haible <=
- Re: Colored output, Akim Demaille, 2019/02/15
- Re: Colored output, Bruno Haible, 2019/02/15