diff --git a/screen.cpp b/screen.cpp index 4b9f3f59d..03bdd5b42 100644 --- a/screen.cpp +++ b/screen.cpp @@ -875,6 +875,10 @@ void s_write( screen_t *s, truncated_autosuggestion_line.push_back(ellipsis_char); commandline = truncated_autosuggestion_line.c_str(); } + for( i=0; i= screen_width ) { - for( i=0; i/dev/null + rm -f $tmpname >/dev/null return $stat end diff --git a/share/functions/history.fish b/share/functions/history.fish index 7383f52ef..73fea995e 100644 --- a/share/functions/history.fish +++ b/share/functions/history.fish @@ -100,14 +100,12 @@ function history --description "Deletes an item from history" builtin history --delete $item end printf "Deleted all!\n" - return else builtin history --delete $found_items[(math $i - 1)] end end end - #Save changes after deleting item(s) builtin history --save end