Browse Source

make sure right prompt gets drawn when drawing oversized line

K. Lange 4 years ago
parent
commit
24517f53fa
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lib/rline_exp.c

+ 2 - 1
lib/rline_exp.c

@@ -797,7 +797,8 @@ static void render_line(void) {
 				/* End the line with a > to show it overflows */
 				printf(">");
 				set_colors(COLOR_FG, COLOR_BG);
-				return;
+				j++;
+				break;
 			}
 
 			/* Syntax hilighting */