Mark prompt lines

This commit is contained in:
Kovid Goyal
2021-08-18 10:06:04 +05:30
parent 46b9aca16e
commit 0d4237f802
4 changed files with 36 additions and 3 deletions
+6 -2
View File
@@ -83,8 +83,12 @@ typedef enum { TILING, SCALED, MIRRORED } BackgroundImageLayout;
#define COL_MASK 0xFFFFFFFF
#define DECORATION_FG_CODE 58
#define CHAR_IS_BLANK(ch) ((ch) == 32 || (ch) == 0)
#define CONTINUED_MASK 1
#define TEXT_DIRTY_MASK 2
enum {
CONTINUED_MASK=1,
TEXT_DIRTY_MASK=2,
PROMPT_START_MASK=4,
OUTPUT_START_MASK=8
};
#define FG 1
#define BG 2