general: term_size, macos fix.

master
Dylan Araps 8 years ago
parent c4bf54db3d
commit fc229704c8
  1. 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…
Cancel
Save