diff --git a/screen.cpp b/screen.cpp index 8955059cd..d02fc438a 100644 --- a/screen.cpp +++ b/screen.cpp @@ -1098,7 +1098,7 @@ static screen_layout_t compute_layout(screen_t *s, size_t left_prompt_width = left_prompt_layout.last_line_width; size_t right_prompt_width = right_prompt_layout.last_line_width; - if (left_prompt_layout.max_line_width >= screen_width) + if (left_prompt_layout.max_line_width > screen_width) { /* If we have a multi-line prompt, see if the longest line fits; if not neuter the whole left prompt */ left_prompt = L"> ";