$ ff
Job 102 is re-frozen
q^C^[Error: nu::shell::error
× Operation interrupted
╭─[/Users/mkatychev/.config/nu/prompt.nu:6:16]
5 │ ]: int -> oneof<string, nothing> {
6 │ let icon = match $in {
· ──┬──
· ╰── This operation was interrupted
7 │ 1 => $one
╰────
~/Documents/rust/nushell-ci>
I expect errors to happen during CPU scheduling but not to have said errors result in dropping all references to background jobs
Bug report form
Describe the bug
prompt.nucode sectionexport def ffHow to reproduce
$env.PROMPTdefined as a closure that is rather expensive, in this case callinggstaton a big repo in a big repo such as https://github.com/nushell/nushell/https://github.com/github-linguist/linguist/ triggers more reliably
$env.PROMPTcalls^Cbefore$env.PROMPT_COMMANDhas finishedExpected behavior
I expect errors to happen during CPU scheduling but not to have said errors result in dropping all references to background jobs
Configuration