From 5fd3ad624fcb3975bad565a849c74e9d78d2c26d Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sat, 12 Sep 2020 20:09:26 +0200 Subject: [PATCH] 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. --- src/screen.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screen.cpp b/src/screen.cpp index d5a88798c..7b1b46b83 100644 --- a/src/screen.cpp +++ b/src/screen.cpp @@ -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;