Skip to content

Commit 911925f

Browse files
committed
typo
1 parent 34f86f4 commit 911925f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/blog/posts/better-sleep-on-windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def sleep(sleep_for: float) -> None:
4444
Args:
4545
sleep_for (float): Seconds to sleep for.
4646
"""
47-
await get_running_loop().run_in_executor(None, time_sleep, sleep_for)
47+
await get_running_loop().run_in_executor(None, sleep, sleep_for)
4848
```
4949

5050
That is a drop-in replacement for sleep on Windows. With it, Textual runs a *lot* smoother. Easily on par with macOS and Linux.

0 commit comments

Comments
 (0)