From cf9bfe9e66fd58d3421deb3946bc8464971cee0a Mon Sep 17 00:00:00 2001 From: Siteshwar Vashisht Date: Sat, 21 Jul 2012 00:24:48 +0530 Subject: [PATCH] Print fish prompt when command is longer than a line Fix for https://github.com/fish-shell/fish-shell/issues/239 --- screen.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/screen.cpp b/screen.cpp index e0933b8e2..4b9f3f59d 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