Fall back to curses if DISPLAY is not set