| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
TerminalCodes.h File Reference

ANSI terminal special escape code macros. More...

## Macros
#define | ANSI_ESCAPE_SEQUENCE(EscapeSeq) "\33[" EscapeSeq
Text Display Modifier Control Sequences
#define | ESC_BOLD_ON ANSI_ESCAPE_SEQUENCE("1m")
#define | ESC_ITALICS_ON ANSI_ESCAPE_SEQUENCE("3m")
#define | ESC_UNDERLINE_ON ANSI_ESCAPE_SEQUENCE("4m")
#define | ESC_INVERSE_ON ANSI_ESCAPE_SEQUENCE("7m")
#define | ESC_STRIKETHROUGH_ON ANSI_ESCAPE_SEQUENCE("9m")
#define | ESC_BOLD_OFF ANSI_ESCAPE_SEQUENCE("22m")
#define | ESC_ITALICS_OFF ANSI_ESCAPE_SEQUENCE("23m")
#define | ESC_UNDERLINE_OFF ANSI_ESCAPE_SEQUENCE("24m")
#define | ESC_INVERSE_OFF ANSI_ESCAPE_SEQUENCE("27m")
#define | ESC_STRIKETHROUGH_OFF ANSI_ESCAPE_SEQUENCE("29m")
Text Colour Control Sequences
#define | ESC_FG_BLACK ANSI_ESCAPE_SEQUENCE("30m")
#define | ESC_FG_RED ANSI_ESCAPE_SEQUENCE("31m")
#define | ESC_FG_GREEN ANSI_ESCAPE_SEQUENCE("32m")
#define | ESC_FG_YELLOW ANSI_ESCAPE_SEQUENCE("33m")
#define | ESC_FG_BLUE ANSI_ESCAPE_SEQUENCE("34m")
#define | ESC_FG_MAGENTA ANSI_ESCAPE_SEQUENCE("35m")
#define | ESC_FG_CYAN ANSI_ESCAPE_SEQUENCE("36m")
#define | ESC_FG_WHITE ANSI_ESCAPE_SEQUENCE("37m")
#define | ESC_FG_DEFAULT ANSI_ESCAPE_SEQUENCE("39m")
#define | ESC_BG_BLACK ANSI_ESCAPE_SEQUENCE("40m")
#define | ESC_BG_RED ANSI_ESCAPE_SEQUENCE("41m")
#define | ESC_BG_GREEN ANSI_ESCAPE_SEQUENCE("42m")
#define | ESC_BG_YELLOW ANSI_ESCAPE_SEQUENCE("43m")
#define | ESC_BG_BLUE ANSI_ESCAPE_SEQUENCE("44m")
#define | ESC_BG_MAGENTA ANSI_ESCAPE_SEQUENCE("45m")
#define | ESC_BG_CYAN ANSI_ESCAPE_SEQUENCE("46m")
#define | ESC_BG_WHITE ANSI_ESCAPE_SEQUENCE("47m")
#define | ESC_BG_DEFAULT ANSI_ESCAPE_SEQUENCE("49m")
Cursor Positioning Control Sequences
#define | ESC_CURSOR_POS_SAVE ANSI_ESCAPE_SEQUENCE("s")
#define | ESC_CURSOR_POS_RESTORE ANSI_ESCAPE_SEQUENCE("u")
#define | ESC_CURSOR_POS(Line, Column) ANSI_ESCAPE_SEQUENCE(#Line ";" #Column "H")
#define | ESC_CURSOR_UP(Lines) ANSI_ESCAPE_SEQUENCE(#Lines "A")
#define | ESC_CURSOR_DOWN(Lines) ANSI_ESCAPE_SEQUENCE(#Lines "B")
#define | ESC_CURSOR_FORWARD(Columns) ANSI_ESCAPE_SEQUENCE(#Columns "C")
#define | ESC_CURSOR_BACKWARD(Columns) ANSI_ESCAPE_SEQUENCE(#Columns "D")
Miscellaneous Control Sequences
#define | ESC_RESET ANSI_ESCAPE_SEQUENCE("0m")
#define | ESC_ERASE_DISPLAY ANSI_ESCAPE_SEQUENCE("2J")
#define | ESC_ERASE_LINE ANSI_ESCAPE_SEQUENCE("K")

## Detailed Description

ANSI terminal compatible escape sequences. These escape sequences are designed to be concatenated with existing strings to modify their display on a compatible terminal application.