Remove checks for $line_wrap

This commit is contained in:
Dylan Araps 2016-08-02 23:21:49 +10:00
parent 7015860c99
commit 91b9fae44d

View file

@ -46,6 +46,7 @@ printinfo () {
info "CPU" cpu info "CPU" cpu
info "GPU" gpu info "GPU" gpu
info "Memory" memory info "Memory" memory
prin "sdddddddddddddddddddddddddddddddddddddasdasdasdasd"
# info "CPU Usage" cpu_usage # info "CPU Usage" cpu_usage
# info "Disk" disk # info "Disk" disk
@ -3345,7 +3346,7 @@ if [ "$image" != "off" ] && [ "$image" != "ascii" ]; then
fi fi
# Disable line wrap # Disable line wrap
[ "$line_wrap" == "off" ] && printf "\033[?7l" printf "\033[?7l"
# Move cursor to the top # Move cursor to the top
[ "$image" != "off" ] && printf "\033[0H" [ "$image" != "off" ] && printf "\033[0H"
@ -3374,7 +3375,7 @@ esac
[ "$image" != "off" ] && printf "%b%s" "\033[${lines:-0}H" [ "$image" != "off" ] && printf "%b%s" "\033[${lines:-0}H"
# Re-enable line wrap # Re-enable line wrap
[ "$line_wrap" == "off" ] && printf "%b%s" "\033[?7h" printf "%b%s" "\033[?7h"
# If enabled take a screenshot # If enabled take a screenshot
if [ "$scrot" == "on" ]; then if [ "$scrot" == "on" ]; then