I have recently started using Spacemacs instead of VIM, because of great VHDL mode.
In vim (neovim) I used to use VIM as terminal emulator. In Emacs I have encountered a bit of strange colour behaviour. To be exact I don't mean different palette for "System colours", that is not a problem. Problem is missing colors in "Color cube" and completely discolored Powerline.
While I would expect this (KDE Konsole or neovim terminal):
Everything is set to xterm-256, so I don't know what is the problem. This occurs in both -nw (terminal) mode and GUI mode.
It seems that 256 color are somewhat degraded by emacs, see comparison of colortest-256
command in Emacs and Konsole and also notice how Powerline is not coloured anymore.
Also note that colours in Powerline are wrong for both background and letters...
How can I fix this strange colour behaviour and get the shell Powerline (github.com/powerline/powerline) working under Shell or Term mode in Emacs?