Commit graph

44 commits

Author SHA1 Message Date
abaa109c0d Add color/style pairs to the readme 2018-03-04 20:55:56 +01:00
f03ed7a647 Add remark about shell buffering 2016-08-18 20:54:50 +02:00
DainDwarf
f80d3e7642 Update README.md
The text "COLOR" does not appear on github -> I propose using *COLOR* instead of <COLOR>
2014-11-21 14:32:47 +01:00
9223717213 more thoughts about arithmetics in the readme 2014-09-28 23:02:44 +02:00
9fd0df9963 Separated Ninja theme with correct handling of scale
Add a flag for user defined colormaps in the context.
Do not overload the colormap if the user changed it.
Inherit the Ninja theme from the cmake one.
Explanations about themes in the README.
2014-05-02 19:30:26 +02:00
56f9f0d7e6 bugfix: random in 8-colors mode with user-defined default colormap 2014-04-25 14:28:15 +02:00
d3efe7e851 Make default colormaps work.
Overwrite default colormaps only if asked.
Correctly interpret integers in mode().
Test registered colormaps after specials.
Silently ignore duplicated external palettes.
Add a set_special_colormaps function.
Do not sue ANSI_min/max as limits for the whole ANSI range.
Move global variables at the top of the file.
2014-04-25 10:56:17 +02:00
3e0535db25 Adds default colormaps and update README
And bugfix: --debug in 256-colors mode
2014-04-07 11:40:13 +02:00
4afd5aef69 Merge branch 'master' of http://github.com/nojhan/colout
Conflicts:
	colout/colout.py
2014-02-10 21:07:51 +01:00
796246e789 Dynamic warning if babel or pygments are not installed 2014-02-10 21:05:21 +01:00
2231cd89bd Add a mandatory argument to --resources.
It should be use at least with an "all" argument.
Partially fix #49
2014-02-02 17:44:48 +01:00
Dimitri Merejkowsky
6c3075eed5 README: remove non-ascii characters
This prevented setup.py from working on my box
2014-01-07 09:56:46 +01:00
Johann Dreo
f30838cc57 Allow big group matching for "scale" special color
When matching a group with "scale", filter out everything that does not seem to
be necessary to interpret the string as a number this permits to transform
"[95%]" to "95" before number conversion, and thus allows to color a group larger
than the matched number

Update the cmake theme accordingly.
2013-09-25 00:04:20 +02:00
Johann Dreo
1e1177b56b delete duplicate entry for --all in the README 2013-09-03 21:27:51 +02:00
Johann Dreo
ecb8940b8c Reorder examples in the README and add a bash alias example 2013-09-02 17:37:50 +02:00
Johann Dreo
ed6e9bf9ed Warn about the -r bug in the README 2013-09-02 17:30:17 +02:00
Johann Dreo
c834c84e25 Merge branch 'master' of http://github.com/nojhan/colout 2013-06-10 10:53:22 +02:00
a121c111f5 Merge pull request #43 from orzrd/master
colout has add to gentoo main portage tree
2013-06-08 02:07:20 -07:00
dongweiming
47282a9408 colout has add to gentoo main portage tree 2013-06-07 23:12:12 +08:00
Johann Dreo
6470d051bd python2 -> python3 in the README 2013-06-07 11:01:46 +02:00
Brian Foley
fca426ca06 Miscellaneous README spelling and grammar tweaks 2013-06-06 20:06:34 +01:00
d030cc9d3c correct colormaps sizes in README 2013-06-05 20:45:57 +02:00
d1ec964c0f better README synopsis 2013-06-05 21:26:40 +03:00
f617d9c302 LIMITATIONS section in the README
Don't use nested groups or colout will duplicate the corresponding input text with each matching colors.
2013-06-05 21:24:25 +03:00
Johann Dreo
8832a41afe Support for RGB hexadecimal triplets colors notations 2013-05-30 14:14:09 +02:00
Johann Dreo
9b3e8e257c Update the README with recent features 2013-05-30 11:33:12 +02:00
orzrd
df52773c4e Update README.md
Add installation method
2013-05-09 22:55:08 +08:00
Xu Di
37934e9266 colout/colout.py uses python3, whereas it really needs python2,
also add requirement in setup, makes it auto-install requirement
package.
2013-04-22 13:34:06 +08:00
a2d3feb301 doc update 2013-04-03 19:02:01 +02:00
b8c38a5653 Add the "none" color. Useful when grouping. 2013-03-26 23:02:52 +01:00
c6b735ccfa Remove on_stderr from the README 2013-03-25 21:20:57 +01:00
Nicolas Pouillard
9edce1f645 Example of the perm template 2013-03-24 23:59:13 +01:00
c9cabb3666 use upper case P in examples 2013-03-23 22:39:57 +01:00
2e7dc83e22 Merge pull request #8 from np/examples
Update the examples (using quotes instead of escapes)
2013-03-23 14:38:13 -07:00
9da74a1202 Add the possibility to color a source code SUBSTRING
`echo "There is an error in 'static void Functor::operator()( EOT& indiv ) { return indiv; }' you should fix it" | colout "'(.*)'" Cpp monokai`
2013-03-23 17:52:32 +01:00
Nicolas Pouillard
10034271c8 Update the examples (using quotes instead of escapes) 2013-03-23 17:00:02 +01:00
937c2a450c Add a JSON theme 2013-03-23 00:23:50 +01:00
d444c1868c Add support for source code coloring with pygments
Themes/source are available with a switch.
2013-03-22 23:59:42 +01:00
nojhan
c891bda94a Add the --colormap option to build adhoc colormaps
Use the given list of comma-separated colors as a colormap (cycle the colors at each match).
Support of 256 colors mode colormaps.
2013-03-05 21:53:38 +01:00
nojhan
da1c2209e7 Add the --groups option
For color maps (like "rainbow"), iterate over matching groups in the pattern instead of over patterns.

Fix #4
2013-03-04 22:16:59 +01:00
nojhan
eba7c1462d Add "Random" for 255 colors mode
Thus we can specify "random" for 8 colors mode, or "Random" for 255 colors.
2013-03-03 09:11:40 +01:00
119bba5bb5 Add random and rainbow
Use "random" as a color or a style to pick a random one for each pattern.
Use "rainbow" as a color to alternate colors in rainbow gradient.
Fix #1
2013-03-01 00:12:40 +01:00
nojhan
bbc0cf5aa3 bugfix readme formating 2012-07-09 10:16:25 +02:00
nojhan
6371125431 rename readme for github display 2012-07-09 09:50:59 +02:00
Renamed from README (Browse further)