mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Register callbacks at message pump level, invoke them after refresh (#607)
* Register callbacks at message pump level, invoke them after refresh * Fix a typo * Code review feedback actions * call_later callbacks invoked after refresh or on idle * Fix space key in text input * Make Widget.on_idle synchronous * Fix call_later * Rename PostScreenUpdate to InvokeCallbacks, and only fire if callbacks exist * Update type hints for InvokeLater callbacks * Update type signature of call_later callbacks, extract typevar
This commit is contained in:
@@ -4,7 +4,6 @@ from pathlib import Path
|
||||
from typing import Iterable
|
||||
|
||||
from rich.console import RenderableType
|
||||
from rich.style import Style
|
||||
from rich.table import Table
|
||||
from rich.text import Text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user