Expand description
This module exports items related to a “tile” in the screen, i.e. a character with foreground and background colors, corresponding to a graphic unit.
Structs
- Updates a
Tile
to set the background to the given color, but the foreground will be adapted to contast the color. - Updates a
Tile
to set the foreground to the given character and color, but the color will be adapted to contrast the background. - A
Tile
in the terminal, i.e. a single character with foreground and background colors.
Traits
- A function that updates a
Tile
.