fix 256 colour support checking

Fixes:
  - check never gets executed if tmux is running
  - server splash discards screen