Commit f3bfd5a9 authored by Dylan Araps's avatar Dylan Araps Committed by GitHub

Merge pull request #525 from dylanaraps/bloat

Info: Remove useless blocks
parents d821ca93 bfa1ce6c
...@@ -2481,12 +2481,6 @@ info() { ...@@ -2481,12 +2481,6 @@ info() {
# Calculate info height # Calculate info height
info_height="$((info_height+=1))" info_height="$((info_height+=1))"
# Fix rendering issues with w3m and lines that
# wrap to the next line by adding a max line
# length.
[[ "$image_backend" == "image" ]] && \
string="$(printf "%.$((columns - text_padding - gap))s" "$string")"
} }
prin() { prin() {
...@@ -2508,12 +2502,6 @@ prin() { ...@@ -2508,12 +2502,6 @@ prin() {
# Calculate info height # Calculate info height
info_height="$((info_height+=1))" info_height="$((info_height+=1))"
# Fix rendering issues with w3m and lines that
# wrap to the next line by adding a max line
# length.
[[ "$image_backend" == "image" ]] && \
string="$(printf "%.$((columns - text_padding - gap))s" "$string")"
# Tell info() that prin() was used. # Tell info() that prin() was used.
prin=1 prin=1
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment