mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
add flush
This commit is contained in:
@@ -46,7 +46,10 @@ class JupyterDriver(Driver):
|
||||
# loop.call_soon_threadsafe(self.websocket.send_bytes, data.encode("utf-8"))
|
||||
|
||||
def flush(self) -> None:
|
||||
pass
|
||||
asyncio.run_coroutine_threadsafe(
|
||||
self.websocket.drain(),
|
||||
loop=self._loop,
|
||||
)
|
||||
|
||||
def _enable_mouse_support(self) -> None:
|
||||
"""Enable reporting of mouse events."""
|
||||
|
||||
Reference in New Issue
Block a user