Text mode with 256-color terminal color sequence handling