Only re-enabled line wrap if we disabled it in the first place

This commit is contained in:
Dylan 2016-02-05 11:46:00 +11:00
parent 0667b18138
commit 5aaab244ce

2
fetch
View file

@ -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