HomeManualTopicsTypesSymbols

std::set_text_colour_at

sets the foreground color at the given position

Parameters

screen
some kind of screen
x
x-coordinate of the character
y
y-coordinate of the character
colour
the colour to use as the new foreground colour

Result

screen
the updated screen

Description

This is a low-level method. It ignores the current window and does not change the character and the background colour.

Example

set_text_colour_at &screen x y RED

Topic

Terminal

See also

std::set_character_at sets the character at the given position
std::set_background_colour_at sets the background colour at the given position
std::draw_character draws a character at the given position

Implemented by

std_types::screen changes the text colour at the specified screen position