misc: cleanup

This commit is contained in:
Dylan Araps 2018-06-09 17:23:42 +10:00
parent 329abc5c46
commit 078cda7b48

View file

@ -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))"