about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xbollux7
1 files changed, 4 insertions, 3 deletions
diff --git a/bollux b/bollux index 55ae15b..4261d36 100755 --- a/bollux +++ b/bollux
@@ -134,6 +134,7 @@ bollux_config() {
134 : "${C_HEADER2:=1}" # header 2 formatting 134 : "${C_HEADER2:=1}" # header 2 formatting
135 : "${C_HEADER3:=3}" # header 3 formatting 135 : "${C_HEADER3:=3}" # header 3 formatting
136 : "${C_LIST:=0}" # list formatting 136 : "${C_LIST:=0}" # list formatting
137 : "${C_QUOTE:=3}" # quote formatting
137 : "${C_PRE:=0}" # preformatted text formatting 138 : "${C_PRE:=0}" # preformatted text formatting
138} 139}
139 140
@@ -771,7 +772,7 @@ gemini_list() {
771 s="${BASH_REMATCH[1]}" 772 s="${BASH_REMATCH[1]}"
772 t="${BASH_REMATCH[2]}" 773 t="${BASH_REMATCH[2]}"
773 774
774 printf "\e[${C_SIGIL}m%${S_MARGIN}s " "$s" 775 printf "\e[${C_SIGIL}m%${S_MARGIN}s ${C_RESET}" "$s"
775 printf -v l "\e[${C_LIST}m%s${C_RESET}\n" "$t" 776 printf -v l "\e[${C_LIST}m%s${C_RESET}\n" "$t"
776 fold_line "$WIDTH" "$l" 777 fold_line "$WIDTH" "$l"
777 else 778 else
@@ -786,8 +787,8 @@ gemini_quote() {
786 s="${BASH_REMATCH[1]}" 787 s="${BASH_REMATCH[1]}"
787 t="${BASH_REMATCH[2]}" 788 t="${BASH_REMATCH[2]}"
788 789
789 printf "\e[${C_SIGIL}m%${S_MARGIN}s " "$s" 790 printf "\e[${C_SIGIL}m%${S_MARGIN}s ${C_RESET}" "$s"
790 printf -v l "\e[${C_LIST}m%s${C_RESET}\n" "$t" 791 printf -v l "\e[${C_QUOTE}m%s${C_RESET}\n" "$t"
791 fold_line "$WIDTH" "$l" 792 fold_line "$WIDTH" "$l"
792 else 793 else
793 gemini_pre "$1" 794 gemini_pre "$1"