Added basic ANSI codes
authorKevin Townsend <kevin@ktownsend.com>
Wed, 9 May 2012 21:42:18 +0000 (23:42 +0200)
committerKevin Townsend <kevin@ktownsend.com>
Wed, 9 May 2012 21:42:18 +0000 (23:42 +0200)
core/cmd/ansi.h

index b538c33..623e126 100644 (file)
@@ -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.