Handle corrupted horizontal box chars with threshold-based detection

Changed _is_all_horizontal_box_drawing to _is_mostly_horizontal_box_drawing
with 80% threshold. This handles cases where terminal data has occasional
corrupted characters (like U+FFFD replacement chars) mixed in with
horizontal line characters.

Version bump to 0.3.9
This commit is contained in:
GitHub Copilot
2026-01-24 19:25:37 +00:00
parent d8d3885efb
commit b896464c81
3 changed files with 34 additions and 20 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[tool.poetry]
name = "textual-webterm"
version = "0.3.8"
version = "0.3.9"
description = "Serve terminal sessions over the web"
authors = ["Will McGugan <will@textualize.io>"]
license = "MIT"