misc: cleanup

This commit is contained in:
Dylan Araps 2018-06-09 17:23:42 +10:00
parent 329abc5c46
commit 078cda7b48
1 changed files with 1 additions and 1 deletions

View File

@ -3604,7 +3604,7 @@ get_term_size() {
# Fallback to stty if above sequence isn't supported.
[[ -z "$lines" || -z "$columns" ]] && \
read -r lines columns <<< "$(stty size)"
read -r lines columns < <(stty size)
# Calculate font size.
font_width="$((term_width / columns))"