uint32_t color_t
Represents a color.
Definition color.h:18
static uint8_t row
Definition console.c:28
static uint8_t col
Definition console.c:28
void csetcol(int32_t col)
Sets the cursor's column.
Definition console.c:169
void crcursor(void)
Resets the cursor's position.
Definition console.c:153
void cclear(color_t color)
Clears the console's screen.
Definition console.c:86
void csetrow(int32_t row)
Sets the cursor's row.
Definition console.c:162
void cputchar(char c, color_t color)
Prints a character at the cursor's position in the given color.
Definition console.c:123
void cprint(const char *str, color_t color)
Prints a string to the console, without a newline.
Definition console.c:106
void cclearcurchar(color_t color)
Clears the cell at the cursor's position.
Definition console.c:102
void crefresh(void)
Refreshes the console's screen.
Definition console.c:78
void cputint(int i, color_t color)
Writes an integer in base 10 at the cursor's position in the given color.
Definition console.c:145
void cclearchar(uint32_t row, uint32_t col, color_t color)
Clears a cell.
Definition console.c:96
void credrawchar(uint32_t row, uint32_t col)
Redraws a character.
Definition console.c:65
void cmovecursor(int32_t rows, int32_t cols)
Moves the cursor by an offset.
Definition console.c:113
uint32_t cgetcol(void)
Gets the cursor's column.
Definition console.c:176
void csetcursor(uint32_t row, uint32_t col)
Sets the cursor's position.
Definition console.c:157
uint32_t cgetrow(void)
Gets the cursor's row.
Definition console.c:180
void cprintln(const char *str, color_t color)
Prints a string to the console followed by a newline.
Definition console.c:118
int int32_t
Definition stdint.h:11
unsigned int uint32_t
Definition stdint.h:6