General: Be less greedy
This commit is contained in:
parent
9573eee324
commit
ebba162aff
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -2639,7 +2639,7 @@ trim_quotes() {
|
|||
}
|
||||
|
||||
strip_sequences() {
|
||||
strip="${1//$'\033['3?m}"
|
||||
strip="${1//$'\033['3[0-9]m}"
|
||||
strip="${strip//$'\033['38\;5\;[0-9]m}"
|
||||
strip="${strip//$'\033['38\;5\;[0-9][0-9]m}"
|
||||
strip="${strip//$'\033['38\;5\;[0-9][0-9][0-9]m}"
|
||||
|
|
Loading…
Reference in a new issue