how should I set $TERM to have 256 colours AND arrow keys working? (‘xterm-256color’ doesn’t work well; I’m using iTerm2)