Karel Zak
b7faf99128
lib/colors: add colormode_or_err()
...
... to make the code easy to use in utils.
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-05-07 09:09:35 +02:00
Karel Zak
a10c043493
lib/colors: add support for auto, always and never modes
...
... to implement --color[=<when>]
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-05-06 19:07:23 +02:00
Karel Zak
5aaee63cdf
dmesg: more colors, more fun
...
* colorize subsystem prefix
* colorize time
* colorize by keywords (now "segfault" only)
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-18 12:28:32 +01:00
Ondrej Oprala
dfa68ad183
lib/color: add module for work with terminal colors
...
[kzak@redhat.com: - split from dmesg patch
- add more colors]
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-10-16 16:39:00 +02:00