rline_exp: indicate when input field overflows to the left
This commit is contained in:
parent
e12508ca29
commit
4d5e977a24
@ -758,6 +758,11 @@ static void render_line(void) {
|
||||
printf("\033[?25l");
|
||||
printf("\033[0m\r%s", prompt);
|
||||
|
||||
if (offset && prompt_width) {
|
||||
set_colors(COLOR_ALT_FG, COLOR_ALT_BG);
|
||||
printf("\b<");
|
||||
}
|
||||
|
||||
int i = 0; /* Offset in char_t line data entries */
|
||||
int j = 0; /* Offset in terminal cells */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user