projects
/
hackover2013-badge-firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46a985d
)
Added basic ANSI codes
author
Kevin Townsend
<kevin@ktownsend.com>
Wed, 9 May 2012 21:42:18 +0000
(23:42 +0200)
committer
Kevin Townsend
<kevin@ktownsend.com>
Wed, 9 May 2012 21:42:18 +0000
(23:42 +0200)
core/cmd/ansi.h
patch
|
blob
|
history
diff --git
a/core/cmd/ansi.h
b/core/cmd/ansi.h
index
b538c33
..
623e126
100644
(file)
--- a/
core/cmd/ansi.h
+++ b/
core/cmd/ansi.h
@@
-41,6
+41,8
@@
// See: http://www.inwap.com/pdp10/ansicode.txt
+// Ex: printf("%s%s%s Bold Black Inverted Text %s \r\n", ANSICODES_GRAPHICS_STYLE_BOLD, ANSICODES_GRAPHICS_FORECOLOR_BLACK, ANSICODES_GRAPHICS_STYLE_NEGATIVE, ANSICODES_GRAPHICS_CLEARALL);
+
#define ANSICODES_GRAPHICS_CLEARALL "\e[0m"
#define ANSICODES_GRAPHICS_STYLE_BOLD "\e[1m"
#define ANSICODES_GRAPHICS_STYLE_DIM "\e[2m"
This page took
0.024738 seconds
and
4
git commands to generate.