diff options
author | Benji Dial <benji@benjidial.net> | 2024-01-20 17:59:40 -0500 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-01-20 17:59:40 -0500 |
commit | 7199e74aa22e592a3b77bdd81f735edca5470596 (patch) | |
tree | 66e935372acc5d6e013f764965f2a9d81814f809 /include/hilbert/kernel/terminal.hpp | |
parent | 53135e2592c21cb9b2609bf95242aaf1f19233da (diff) | |
download | hilbert-os-7199e74aa22e592a3b77bdd81f735edca5470596.tar.gz |
update
Diffstat (limited to 'include/hilbert/kernel/terminal.hpp')
-rw-r--r-- | include/hilbert/kernel/terminal.hpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/include/hilbert/kernel/terminal.hpp b/include/hilbert/kernel/terminal.hpp deleted file mode 100644 index 78ddbe8..0000000 --- a/include/hilbert/kernel/terminal.hpp +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef HILBERT_KERNEL_TERMINAL_HPP -#define HILBERT_KERNEL_TERMINAL_HPP - -#include <hilbert/kernel/framebuffer.hpp> -#include <hilbert/kernel/utility.hpp> -#include <cstddef> -#include <cstdint> - -namespace hilbert::kernel::terminal { - - extern uint8_t *termfont; - extern uint64_t termfont_len; - - void init_terminal(); - - extern int width; - extern int height; - - extern int cursor_x; - extern int cursor_y; - - extern framebuffer::color bg_color; - extern framebuffer::color fg_color; - - void put_char(char ch); - void put_string(const utility::string &str); - void put_string_sz(const char *str); - - void put_int_decimal(uint64_t n, bool with_commas = true); - - void put_int_hex(uint64_t n, int digits, bool with_dots = true); - -} - -#endif |