Enable 256 colors.

From Piotr Meyer in PR 48380.
Fix typo, reported by Henning Petersen in PR 48396.
(already fixed upstream in a bigger commit)