screen: Show suggestion if the commandline was pushed to a new line

Pretty sure this was just overlooked, the comment mentions that it
should happen and it seems to work.

Fixes #7213.
This commit is contained in:
Fabian Homborg 2020-09-12 20:09:26 +02:00
parent 0072367512
commit 5fd3ad624f

View file

@ -1093,6 +1093,7 @@ static screen_layout_t compute_layout(screen_t *s, size_t screen_width,
prompt_percent_width > 33) {
result.prompts_get_own_line = true;
}
result.autosuggestion = autosuggestion;
}
return result;