Images: Fix term size on Terminology
This commit is contained in:
parent
4ca4e88697
commit
7653e3bef7
1
neofetch
1
neofetch
|
@ -2067,7 +2067,6 @@ get_term_size() {
|
||||||
|
|
||||||
# Split the string into height/width.
|
# Split the string into height/width.
|
||||||
if [[ "$image_program" == "tycat" ]]; then
|
if [[ "$image_program" == "tycat" ]]; then
|
||||||
term_size=(${term_size//;/ })
|
|
||||||
term_width="$((term_size[2] * term_size[0]))"
|
term_width="$((term_size[2] * term_size[0]))"
|
||||||
term_height="$((term_size[3] * term_size[1]))"
|
term_height="$((term_size[3] * term_size[1]))"
|
||||||
|
|
||||||
|
|
Reference in New Issue