Issue description
When the exit command is executed inside fish_prompt, the shell doesn't exit unless some a command is typed and executed (pressing enter alone doesn't work).
Steps to reproduce:
set config.sh to
function fish_prompt
echo '$ '
exit
end
run fish and notice it doesn't exit.
Commit that introduced the issue
b018218 (Rework exit command)
Issue description
When the
exitcommand is executed insidefish_prompt, the shell doesn't exit unless some a command is typed and executed (pressingenteralone doesn't work).Steps to reproduce:
set config.sh to
run
fishand notice it doesn't exit.Commit that introduced the issue
b018218 (Rework exit command)