mirror of
https://github.com/nushell/nushell.git
synced 2025-05-28 02:21:19 +00:00
# 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