Merge pull request #160 from tactlessfish/fix-default-col2

Fix default PF_COL2, closes #147
This commit is contained in:
dylan authored and GitHub committed 2021-10-06 07:31:18 +03:00
commit c574b14569
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ PF_COL1=4
# Color of info data: # Color of info data:
# Default: unset (auto) # Default: unset (auto)
# Valid: 0-9 # Valid: 0-9
PF_COL2=7 PF_COL2=9
# Color of title data: # Color of title data:
# Default: unset (auto) # Default: unset (auto)
+1 -1
View File
@@ -150,7 +150,7 @@ log() {
# Print the info data, color it and strip all leading whitespace # Print the info data, color it and strip all leading whitespace
# from the string. # from the string.
esc_p SGR "3${PF_COL2-7}" esc_p SGR "3${PF_COL2-9}"
printf '%s' "$info" printf '%s' "$info"
esc_p SGR 0 esc_p SGR 0
printf '\n' printf '\n'