File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ term.bold() {
313313 unset -v REPLY
314314 local text=" $1 "
315315
316- printf -v REPLY ' \e[1m%s\e0m ' " $text "
316+ printf -v REPLY ' \e[1m%s\e[0m ' " $text "
317317}
318318
319319# @description Construct italic
@@ -322,7 +322,7 @@ term.italic() {
322322 unset -v REPLY
323323 local text=" $1 "
324324
325- printf -v REPLY ' \e[3m%s\e0m ' " $text "
325+ printf -v REPLY ' \e[3m%s\e[0m ' " $text "
326326}
327327
328328# @description Construct underline
@@ -331,7 +331,7 @@ term.underline() {
331331 unset -v REPLY
332332 local text=" $1 "
333333
334- printf -v REPLY ' \e[4m%s\e0m ' " $text "
334+ printf -v REPLY ' \e[4m%s\e[0m ' " $text "
335335}
336336
337337# @description Construct strikethrough
@@ -340,6 +340,6 @@ term.strikethrough() {
340340 unset -v REPLY
341341 local text=" $1 "
342342
343- printf -v REPLY ' \e[9m%s\e0m ' " $text "
343+ printf -v REPLY ' \e[9m%s\e[0m ' " $text "
344344}
345345
You can’t perform that action at this time.
0 commit comments