misc: cleanup
This commit is contained in:
parent
329abc5c46
commit
078cda7b48
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -3604,7 +3604,7 @@ get_term_size() {
|
||||||
|
|
||||||
# Fallback to stty if above sequence isn't supported.
|
# Fallback to stty if above sequence isn't supported.
|
||||||
[[ -z "$lines" || -z "$columns" ]] && \
|
[[ -z "$lines" || -z "$columns" ]] && \
|
||||||
read -r lines columns <<< "$(stty size)"
|
read -r lines columns < <(stty size)
|
||||||
|
|
||||||
# Calculate font size.
|
# Calculate font size.
|
||||||
font_width="$((term_width / columns))"
|
font_width="$((term_width / columns))"
|
||||||
|
|
Loading…
Reference in a new issue