general: term_size, macos fix.
This commit is contained in:
parent
c4bf54db3d
commit
fc229704c8
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -3688,7 +3688,7 @@ get_term_size() {
|
|||
|
||||
# If the sequences above don't work and the user is on a macOS system
|
||||
# or a system not running an X server, return early.
|
||||
[[ -z "$DISPLAY" || "$os" == "Mac OS X" ]] && \
|
||||
[[ -z "$DISPLAY" ]] && \
|
||||
{ term_width=0; return; }
|
||||
|
||||
# Get terminal width/height if \e[14t is unsupported.
|
||||
|
|
Loading…
Reference in a new issue