20 lines
493 B
C
20 lines
493 B
C
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
// Copyright (c) 2025 0xKarinyash
|
|
|
|
#ifndef CONSOLE_H
|
|
#define CONSOLE_H
|
|
|
|
#include <drivers/shitgui.h>
|
|
|
|
void console_init(SG_Context *ctx);
|
|
u64 console_get_colors();
|
|
void console_clear(u32 color);
|
|
SG_Context* console_get_context();
|
|
SG_Point console_get_dimensions();
|
|
void console_set_color(u32 color);
|
|
void console_set_cursor_pos(SG_Point *p);
|
|
void kprint(const char *str);
|
|
void kprintf(const char *fmt, ...);
|
|
void kgets(char* buff, u32 lim);
|
|
|
|
#endif |