fix(tui_layout.sh): resolve awk 'bad regex' error by using octal escape

This commit is contained in:
Sofia
2026-01-20 23:36:06 +08:00
committed by GitHub
parent a73efc839e
commit 90682a06f4

View File

@@ -57,7 +57,7 @@ content_line() {
}
charWidth = 1
if (r ~ /[^\x00-\x7F]/) {
if (r ~ /[^\001-\177]/) {
charWidth = 2
}