Skip to content

Commit 4e3a1b2

Browse files
committed
Merge branch 'maint'
* maint: test-lib.sh/test_decode_color(): use octal not hex in awk script
2 parents 19128d6 + c2ed29b commit 4e3a1b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/test-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ test_decode_color () {
260260
if (n == 47) return "BWHITE";
261261
}
262262
{
263-
while (match($0, /\x1b\[[0-9;]*m/) != 0) {
263+
while (match($0, /\033\[[0-9;]*m/) != 0) {
264264
printf "%s<", substr($0, 1, RSTART-1);
265265
codes = substr($0, RSTART+2, RLENGTH-3);
266266
if (length(codes) == 0)

0 commit comments

Comments
 (0)