From e95a43c5353f04fcf1c18a17304620e6219b9056 Mon Sep 17 00:00:00 2001 From: K Lange Date: Thu, 25 Mar 2021 13:18:14 +0900 Subject: [PATCH] Reset ANSI escape mode when clearing rest of line in rline --- src/vendor/rline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vendor/rline.c b/src/vendor/rline.c index 21c8388..c8e48f1 100644 --- a/src/vendor/rline.c +++ b/src/vendor/rline.c @@ -1443,6 +1443,7 @@ static void render_line(void) { } } + printf("\033[0m"); set_colors(COLOR_FG, COLOR_BG); if (show_right_side && prompt_right_width) {