I am running emacs (24.5.1) on Mac osx and using the solarized theme. For the gui version, the theme works well. If I run the application with the -nw flag:
/Applications/Emacs.app/Contents/MacOS/Emacs -nw
the colors for the theme get all wonky. I assume this is because:
TERM=xterm-256color
What would I need to put in my .emacs to give the following conditional behavior:
if (gui)
theme=solarized
if (-nw)
theme=wheatgrass
??