mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Fix for an out-of-range exception when resizing the window during funced
Addresses https://github.com/fish-shell/fish-shell/issues/498
This commit is contained in:
parent
309dfeb6a8
commit
c939f2ee45
1 changed files with 1 additions and 1 deletions
|
@ -481,8 +481,8 @@ static void s_desired_append_char(screen_t *s,
|
|||
{
|
||||
int i;
|
||||
/* Current line is definitely hard wrapped */
|
||||
s->desired.line(s->desired.cursor.y).is_soft_wrapped = false;
|
||||
s->desired.create_line(s->desired.line_count());
|
||||
s->desired.line(s->desired.cursor.y).is_soft_wrapped = false;
|
||||
s->desired.cursor.y++;
|
||||
s->desired.cursor.x=0;
|
||||
for (i=0; i < prompt_width+indent*INDENT_STEP; i++)
|
||||
|
|
Loading…
Reference in a new issue