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