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() {
313
313
unset -v REPLY
314
314
local text=" $1 "
315
315
316
- printf -v REPLY ' \e[1m%s\e0m ' " $text "
316
+ printf -v REPLY ' \e[1m%s\e[0m ' " $text "
317
317
}
318
318
319
319
# @description Construct italic
@@ -322,7 +322,7 @@ term.italic() {
322
322
unset -v REPLY
323
323
local text=" $1 "
324
324
325
- printf -v REPLY ' \e[3m%s\e0m ' " $text "
325
+ printf -v REPLY ' \e[3m%s\e[0m ' " $text "
326
326
}
327
327
328
328
# @description Construct underline
@@ -331,7 +331,7 @@ term.underline() {
331
331
unset -v REPLY
332
332
local text=" $1 "
333
333
334
- printf -v REPLY ' \e[4m%s\e0m ' " $text "
334
+ printf -v REPLY ' \e[4m%s\e[0m ' " $text "
335
335
}
336
336
337
337
# @description Construct strikethrough
@@ -340,6 +340,6 @@ term.strikethrough() {
340
340
unset -v REPLY
341
341
local text=" $1 "
342
342
343
- printf -v REPLY ' \e[9m%s\e0m ' " $text "
343
+ printf -v REPLY ' \e[9m%s\e[0m ' " $text "
344
344
}
345
345
You can’t perform that action at this time.
0 commit comments