mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
typo
This commit is contained in:
@@ -44,7 +44,7 @@ async def sleep(sleep_for: float) -> None:
|
|||||||
Args:
|
Args:
|
||||||
sleep_for (float): Seconds to sleep for.
|
sleep_for (float): Seconds to sleep for.
|
||||||
"""
|
"""
|
||||||
await get_running_loop().run_in_executor(None, time_sleep, sleep_for)
|
await get_running_loop().run_in_executor(None, sleep, sleep_for)
|
||||||
```
|
```
|
||||||
|
|
||||||
That is a drop-in replacement for sleep on Windows. With it, Textual runs a *lot* smoother. Easily on par with macOS and Linux.
|
That is a drop-in replacement for sleep on Windows. With it, Textual runs a *lot* smoother. Easily on par with macOS and Linux.
|
||||||
|
|||||||
Reference in New Issue
Block a user