Files
nushell/crates/nu-command/src
YizhePKU f8c1e03ea7 Fix inaccurate sleep duration (#12235)
# Description
Improves the accuracy of sleep when the duration is larger than 100ms.
Fixes #12223.

# User-Facing Changes
Sleeping for 150ms should work now.

```nushell
~/nushell> timeit { sleep 150ms }                                                                                                                                          03/19/2024 10:41:55 AM AM
151ms 344µs 201ns
```
2024-03-20 16:45:33 +08:00
..
2024-03-08 20:21:35 +02:00
2024-03-14 15:51:55 -05:00
2024-03-11 19:46:04 +01:00
2024-03-14 15:51:55 -05:00
2024-03-11 19:46:04 +01:00
2024-02-18 17:47:10 +01:00
2024-02-18 17:47:10 +01:00
2024-03-11 19:46:04 +01:00
2024-01-24 07:38:15 +08:00
2024-02-18 17:47:10 +01:00