Reset ANSI escape mode when clearing rest of line in rline

This commit is contained in:
K Lange 2021-03-25 13:18:14 +09:00
parent 6892b1e4f6
commit e95a43c535

1
src/vendor/rline.c vendored
View File

@ -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) {