RPV Event driven kernel
Loading...
Searching...
No Matches
console.h
Go to the documentation of this file.
1
7#pragma once
8
9#include <stddef.h>
10#include <stdint.h>
11#include <stdbool.h>
12
28extern size_t MAX_X;
29
45extern size_t MAX_Y;
46
62void con_ln(void);
63
75void con_tab(void);
76
96void con_clear(void);
97
115void con_char(const char code);
116
135void con_string(const char* str);
136
160void con_xy(size_t cx, size_t cy);
161
171size_t con_getx(void);
172
182size_t con_gety(void);
183
202void set_con(void);
size_t con_gety(void)
Retrieves the current cursor Y position.
void con_tab(void)
Inserts a horizontal tab.
void con_xy(size_t cx, size_t cy)
Sets the cursor position.
void set_con(void)
Initializes the console subsystem.
void con_ln(void)
Moves cursor to the next line.
size_t MAX_Y
Maximum vertical coordinate of the console.
void con_string(const char *str)
Writes a null-terminated string to the console.
size_t con_getx(void)
Retrieves the current cursor X position.
void con_char(const char code)
Writes a single character to the console.
size_t MAX_X
Maximum horizontal coordinate of the console.
void con_clear(void)
Clears the console display.