ESPTerm - ESP8266 terminal emulator. Branches: [master] patches, [work] next release
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
espterm-firmware/user/sgr.h

49 lines
842 B

//
// Created by MightyPork on 2017/08/19.
//
#ifndef ESP_VT100_FIRMWARE_SGR_H
#define ESP_VT100_FIRMWARE_SGR_H
enum SGR_CODES {
SGR_RESET = 0,
SGR_BOLD = 1,
SGR_FAINT = 2,
SGR_ITALIC = 3,
SGR_UNDERLINE = 4,
SGR_BLINK = 5,
SGR_BLINK_FAST = 6,
SGR_INVERSE = 7,
SGR_CONCEAL = 8,
SGR_STRIKE = 9,
SGR_FRAKTUR = 20,
SGR_OVERLINE = 53,
SGR_NO_BOLD = 21,
SGR_NO_BOLD_FAINT = 22,
SGR_NO_ITALIC_FRACTUR = 23,
SGR_NO_UNDERLINE = 24,
SGR_NO_BLINK = 25,
SGR_NO_INVERSE = 27,
SGR_NO_CONCEAL = 28,
SGR_NO_STRIKE = 29,
SGR_NO_OVERLINE = 55,
SGR_FG_START = 30,
SGR_FG_END = 37,
SGR_FG_DEFAULT = 39,
SGR_FG_256 = 38,
SGR_BG_START = 40,
SGR_BG_END = 47,
SGR_BG_256 = 48,
SGR_BG_DEFAULT = 49,
SGR_FG_BRT_START = 90,
SGR_FG_BRT_END = 97,
SGR_BG_BRT_START = 100,
SGR_BG_BRT_END = 107,
};
#endif //ESP_VT100_FIRMWARE_SGR_H