aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--screen.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/screen.cpp b/screen.cpp
index e0933b8e..4b9f3f59 100644
--- a/screen.cpp
+++ b/screen.cpp
@@ -882,6 +882,11 @@ void s_write( screen_t *s,
*/
if( max_line_width + prompt_width >= screen_width )
{
+ for( i=0; i<prompt_width; i++ )
+ {
+ s_desired_append_char( s, L' ', 0, 0, prompt_width );
+ }
+
s_desired_append_char( s, L'\n', 0, 0, 0 );
prompt_width=0;
}