From 77d140728dd001d7bb14a109c1f094d234bd8063 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Sun, 28 Aug 2016 17:53:44 +0200
Subject: [PATCH] tweaks: don't bother trimming the prompt again

The prompt has already been trimmed in do_prompt() to fit into the
available space.
---
 src/prompt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/prompt.c b/src/prompt.c
index ac049f0b..f8e7cc1e 100644
--- a/src/prompt.c
+++ b/src/prompt.c
@@ -468,7 +468,7 @@ void update_the_statusbar(void)
 
     blank_statusbar();
 
-    mvwaddnstr(bottomwin, 0, 0, prompt, actual_x(prompt, COLS - 2));
+    mvwaddstr(bottomwin, 0, 0, prompt);
     waddch(bottomwin, ':');
     waddch(bottomwin, (the_page == 0) ? ' ' : '<');
 
-- 
GitLab