Fix terminal resize and reconnect behavior
- Force terminal redraw on WebSocket reconnect (fixes tmux display) - Simplify screenshot dimensions (use DEFAULT_TERMINAL_SIZE for new sessions) - Track last known terminal size for reconnection - Fix trailing whitespace in tests Bump version to 0.2.8
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "textual-webterm"
|
name = "textual-webterm"
|
||||||
version = "0.2.7"
|
version = "0.2.8"
|
||||||
description = "Serve terminal sessions over the web"
|
description = "Serve terminal sessions over the web"
|
||||||
authors = ["Will McGugan <will@textualize.io>"]
|
authors = ["Will McGugan <will@textualize.io>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ class TestDockerStatsCollector:
|
|||||||
assert collector.available is False
|
assert collector.available is False
|
||||||
|
|
||||||
# Just touching the file isn't enough - need actual socket connectivity
|
# Just touching the file isn't enough - need actual socket connectivity
|
||||||
# Since we can't easily create a real Unix socket in tests,
|
# Since we can't easily create a real Unix socket in tests,
|
||||||
# verify that a non-socket file returns False
|
# verify that a non-socket file returns False
|
||||||
socket_path.touch()
|
socket_path.touch()
|
||||||
assert collector.available is False # File exists but can't connect
|
assert collector.available is False # File exists but can't connect
|
||||||
|
|||||||
Reference in New Issue
Block a user