summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorulwlu <ooulwluoo@gmail.com>2022-02-23 01:42:55 +0900
committerThomas Koutcher <thomas.koutcher@online.fr>2023-09-04 21:23:47 +0200
commitd0f5df28702240c72b84a24e7535c09f2223f7c1 (patch)
tree9ca709f8923f8b7316be7a7195c91807489cbaaa
parentdc7addb136673b64d296c0645b2ae1e63e9821fb (diff)
Bring back the process of ansi 47 code
-rw-r--r--src/ansi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ansi.c b/src/ansi.c
index 430e4511..f310791c 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -151,6 +151,8 @@ draw_ansi(struct view *view, int *ansi_num, char **ansi_ptrs, int max_width, siz
cur_ansi_status.bg = COLOR_MAGENTA;
if (strcmp(ansi_code_part, "46") == 0)
cur_ansi_status.bg = COLOR_CYAN;
+ if (strcmp(ansi_code_part, "47") == 0)
+ cur_ansi_status.bg = COLOR_WHITE;
if (strcmp(ansi_code_part, "48") == 0) {
short c256 = convert_ansi_into_256_color(&saveptr);
if (c256 != -1)