Skip to content

Commit 7660b0a

Browse files
committed
Global: defaults percentType to 9 ( colored number )
1 parent 7a8e484 commit 7660b0a

File tree

5 files changed

+1
-15
lines changed

5 files changed

+1
-15
lines changed

presets/examples/11.jsonc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
"type": "small"
55
},
66
"display": {
7-
"percent": {
8-
"type": 9
9-
},
107
"separator": "\u001b[31m-> "
118
},
129
"modules": [

presets/examples/8.jsonc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
"size": {
1212
"ndigits": 0,
1313
"maxPrefix": "MB"
14-
},
15-
"percent": {
16-
"type": 9
1714
}
1815
},
1916
"modules": [

presets/examples/9.jsonc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
"charElapsed": "=",
1010
"charTotal": "-",
1111
"width": 13
12-
},
13-
"percent": {
14-
"type": 9
1512
}
1613
},
1714
"modules": [

src/data/config_user.jsonc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88
"top": 2
99
}
1010
},
11-
"display": {
12-
"percent": {
13-
"type": 9
14-
} // colored percent number
15-
},
1611
"modules": [
1712
"title",
1813
"separator",

src/options/display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ void ffOptionsInitDisplay(FFOptionsDisplay* options)
303303
ffStrbufInitStatic(&options->barCharTotal, "-");
304304
options->barWidth = 10;
305305
options->barBorder = true;
306-
options->percentType = 1;
306+
options->percentType = 9;
307307
options->percentNdigits = 0;
308308
}
309309

0 commit comments

Comments
 (0)