Only re-enabled line wrap if we disabled it in the first place
This commit is contained in:
parent
0667b18138
commit
5aaab244ce
1 changed files with 1 additions and 1 deletions
2
fetch
2
fetch
|
@ -2221,7 +2221,7 @@ if [ "$image" != "off" ]; then
|
|||
fi
|
||||
|
||||
# Re-enable line wrap
|
||||
printf "%b%s" "\033[?25h"
|
||||
[ "$line_wrap" == "off" ] && printf "%b%s" "\033[?7h"
|
||||
|
||||
# If enabled take a screenshot
|
||||
if [ "$scrot" == "on" ]; then
|
||||
|
|
Loading…
Reference in a new issue