ansi-colors Questions

1

What is the scope of ANSI color codes. In following code everything is coming in blue. I only want "Compiled Successfully" in blue. Is there something like closing tags (eg. in HTML) here? cout&lt...
Carin asked 21/4, 2017 at 10:12

3

Solved

I have the following functions for colorizing my screen messages: def error(string): return '\033[31;1m' + string + '\033[0m' def standout(string): return '\033[34;1m' + string + '\033[0m' I ...
Ozzie asked 23/5, 2010 at 22:0

4

Solved

I have a script that generates a log file with ANSI color codes in them like so: [2012-05-14 18:00:02] ^[[0mINF: -- Starting update script --^[[0m [2012-05-14 18:00:29] ^[[91mERR: Improper date, e...
Heartbreak asked 15/5, 2012 at 0:22

4

Solved

I've got some Python code that will automatically print a set of data in a nice column format, including putting in the appropriate ASCII escape sequences to color various pieces of the data for re...
Shavonneshaw asked 2/2, 2010 at 19:18

1

Solved

Using clang-check to dump a source code's AST, can be done with the following command: $ clang-check -ast-dump file.c -- However, the output of this command will appear colorful within the term...
Stomatitis asked 8/9, 2015 at 0:23

1

Solved

I want to convert this ugly string... "\e[0;92;49mGroup::Item\e[0m | \e[0;35;49mgender\e[0m\n \e[0;92;49mGroup::SubItem\e[0m | \e[0;36;49mage=22 \e[0m\e[0;94;49mfirst_name=\"Juan Manuel\" \e[0m\e[...
Cilium asked 19/7, 2015 at 16:28

1

Solved

I'm trying to use tput to set foreground and background colors in my terminal in a device independent way. If the whole purpose of termcap/terminfo/tput is to become device independent, why are th...
Fauteuil asked 19/9, 2013 at 11:33

2

Solved

I'm testing under Windows and the command prompt doesn't do so well with the ANSI color codes that appear by default. How can I turn off the color display when I'm using Laravel?
Bond asked 3/6, 2012 at 23:56

2

Solved

I have upgraded to Emacs 24 from Emacs 23 on OSX using brew. Right now, I'm updating my .emacs to use the new stuff from emacs 24 esp. the new package manager and the built-in color themes. I insta...
Sherri asked 3/8, 2012 at 15:55

5

Solved

I discovered this while using ruby printf, but it also applies to C's printf. If you include ANSI colour escape codes in an output string, it messes up the alignment. Ruby: ruby-1.9.2-head >...
Airdrie asked 16/9, 2010 at 3:9

1

I'm writing a very simple little console application and I'm playing around with some ANSI escape sequences to get some nicer output. What I'm trying to do is something like this. There's a header...
Unwholesome asked 19/9, 2011 at 1:45

2

Solved

I'm using emacs 24 on OS X and have the strange problem that I'm unable to see any color codes. Emacs seems to just ignore them. My motivation is to see colored output from cmake, llvm and the goog...
Der asked 12/2, 2012 at 0:55

3

I am under Linux and I want to fetch an html page from the web and then output it on terminal. I found out that html2text essentially does the job, but it converts my html to a plain text whereas I...
Rupture asked 24/3, 2011 at 9:56

© 2022 - 2024 — McMap. All rights reserved.