File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 119
119
# # Sometimes the title is long, so a sanity check is performed to fold the title
120
120
# # if it exceeds the window size. Because of the hyphen it receives 3 spaces padding.
121
121
if (( $title_len >= $TERM_WIDTH )) ; then
122
- title=$( echo " $stripped_title " | fold -s -w $TERM_WIDTH )
122
+ title=$( echo " $stripped_title " | fold -s -w " $TERM_WIDTH " )
123
123
title=" ${title// $' \n ' / $' \n ' } "
124
124
title=" ${aCOLOUR[1]}${title} $COLOUR_RESET "
125
125
# # Recalculate the title length based on the last line with padding
132
132
# # The description is typically very long, and is folded from the second line
133
133
# # onwards into the remaining available space, with left padding.
134
134
if (( $descp_len >= $avail_len )) ; then
135
- descp=$( echo " $stripped_descp " | fold -s -w $avail_len )
135
+ descp=$( echo " $stripped_descp " | fold -s -w " $avail_len " )
136
136
descp=" ${descp// $' \n ' / $' \n ' ${left_pad} } "
137
137
fi
138
138
fi
You can’t perform that action at this time.
0 commit comments