Fix shell to support non-printing colors