consolidate ESC sequences
function old new delta bell 2 - -2 CMdown 2 - -2 Ceos 4 - -4 Ceol 4 - -4 CMup 4 - -4 SOs 5 - -5 SOn 5 - -5 CMrc 9 - -9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -29,11 +29,11 @@
|
||||
#endif
|
||||
|
||||
/* The escape codes for highlighted and normal text */
|
||||
#define HIGHLIGHT "\033[7m"
|
||||
#define NORMAL "\033[0m"
|
||||
/* The escape code to clear the screen */
|
||||
#define CLEAR "\033[H\033[J"
|
||||
/* The escape code to clear to end of line */
|
||||
#define HIGHLIGHT "\033[7m"
|
||||
#define NORMAL "\033[0m"
|
||||
/* The escape code to home and clear to the end of screen */
|
||||
#define CLEAR "\033[H\033[J"
|
||||
/* The escape code to clear to the end of line */
|
||||
#define CLEAR_2_EOL "\033[K"
|
||||
|
||||
enum {
|
||||
|
Reference in New Issue
Block a user