forked from extern/nushell
7a728340de
# Description Closes: #10218 I think this is `sleep`'s specific issue, it's because it always return a `Value::nothing` where it's interrupted by `ctrl-c`. To fix the issue, I'd propose to make it returns Err(ShellError) This is how it behaves: ```nushell ❯ sleep 5sec; echo "hello!" ^CError: nu:🐚:sleep_breaked × Sleep is breaked. ❯ sleep 5sec; ^echo "hello!" ^CError: nu:🐚:sleep_breaked × Sleep is breaked. ``` # User-Facing Changes None # Tests + Formatting # After Submitting |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE |