Skip to content

Setting to not merge ansiBlack backgrounds with terminal colour. #256628

@solman252

Description

@solman252

I'm trying to highlight some text in the terminal using ANSI codes, and doing \033[40m (black background) does nothing, same for \033[30;7m (black foreground, then inverted). I suppose this is because it is assumed the terminal color is black, so to save on rendering the background over top of the terminal when they are the same color this case is skipped?

A setting to not do this would be nice, and could make a differentiation between \033[40m (black background) and \033[49m (default background) to still save on rendering in most cases.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions