mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
17 lines
360 B
C
17 lines
360 B
C
#ifndef _CONSOLE_H
|
|
#define _CONSOLE_H
|
|
|
|
#include <stddef.h>
|
|
#include <stdbool.h>
|
|
#include <kernel/input.h>
|
|
#include <kernel/tty.h>
|
|
|
|
void console_init();
|
|
void console_putc(char c);
|
|
size_t console_write(char *str, size_t size);
|
|
void console_process_events(input_event_t *events, int count);
|
|
int console_set_lock(bool lock);
|
|
bool console_is_tty(tty_t *p);
|
|
|
|
#endif
|