mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-10 23:41:22 +00:00
Merge pull request #1166 from sofia-riese/patch-1
fix(tui_layout.sh): resolve awk 'bad regex' error by using octal escape
This commit is contained in:
@@ -57,7 +57,7 @@ content_line() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
charWidth = 1
|
charWidth = 1
|
||||||
if (r ~ /[^\x00-\x7F]/) {
|
if (r ~ /[^\001-\177]/) {
|
||||||
charWidth = 2
|
charWidth = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user