Sync xterm's color and gui's