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
1 changed files with 1 additions and 1 deletions

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