|
From: | Elias Mårtenson |
Subject: | Re: [Bug-apl] Why not reset color for cout by default? |
Date: | Thu, 1 Feb 2018 23:22:05 +0800 |
Hi Clouds,
thanks, fixed in SVN 1044.
Please note that there is a zoo of vt100 compatible terminals around that differ
considerably in terms of the colour schemes that they support. The only reliable
way to handle this in a "portable" way is via the preferences files. Anything else
is merely a matter of luck and therefore the default values used by GNU APL in
the absence of a preferences file are not really relevant.
Best Regards,
/// Jürgen
On 02/01/2018 11:03 AM, Clouds Flowing wrote:
Related thread: https://lists.gnu.org/archive/html/bug-apl/2013-10/ msg00003.html
Now I see it is using `char Output::color_COUT[MAX_ESC_LEN] = CSI "0;30;49m";` in code, it is strange that reset background while set foreground to black.I think it quite normal to use default (reset color) color for std::cout, i.e. use `CSI "0;39;49m"`.
I know it could be set in /etc/gnu-apl.d/preference, while we are talking about the default behavior.
Thanks,Clouds
[Prev in Thread] | Current Thread | [Next in Thread] |