Force redraw on reconnect and speed up screenshots
- Send Ctrl+L and resize on reconnect to avoid black screens - Increase replay buffer to 256KB - Add get_screen_has_changes for non-destructive dirty checks - Tighten screenshot cache TTLs and SSE debounce - Update tests for new behavior and timings
This commit is contained in:
@@ -29,7 +29,7 @@ class TestTerminalSession:
|
||||
"""Test replay buffer size constant."""
|
||||
from textual_webterm.terminal_session import REPLAY_BUFFER_SIZE
|
||||
|
||||
assert REPLAY_BUFFER_SIZE == 64 * 1024 # 64KB
|
||||
assert REPLAY_BUFFER_SIZE == 256 * 1024 # 64KB
|
||||
|
||||
def test_init(self):
|
||||
"""Test TerminalSession initialization."""
|
||||
|
||||
Reference in New Issue
Block a user