mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
Fix for displaying multiline prompts
This commit is contained in:
parent
12f3f5dcbb
commit
4fc80b5057
1 changed files with 1 additions and 0 deletions
|
@ -660,6 +660,7 @@ static void exec_prompt()
|
||||||
|
|
||||||
for( i = 0; i < prompt_list.size(); i++ )
|
for( i = 0; i < prompt_list.size(); i++ )
|
||||||
{
|
{
|
||||||
|
if (i > 0) data->prompt_buff += L'\n';
|
||||||
data->prompt_buff += prompt_list.at(i);
|
data->prompt_buff += prompt_list.at(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue