diff --git a/reader.c b/reader.c index 23b5d9d8e..b7792e767 100644 --- a/reader.c +++ b/reader.c @@ -698,6 +698,10 @@ static void exec_prompt() for( i=0; iprompt_buff, (wchar_t *)al_get( &prompt_list, i ) ); + if (i + 1 < al_get_count( &prompt_list)) + { + sb_append( &data->prompt_buff, L"\n" ); + } } al_foreach( &prompt_list, &free );