mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-14 12:37:16 +00:00
Merge pull request #525 from dylanaraps/bloat
Info: Remove useless blocks
This commit is contained in:
12
neofetch
12
neofetch
@@ -2481,12 +2481,6 @@ info() {
|
||||
|
||||
# Calculate info height
|
||||
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() {
|
||||
@@ -2508,12 +2502,6 @@ prin() {
|
||||
# Calculate info height
|
||||
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.
|
||||
prin=1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user