Implement APIC, RTC, basic ACPI parser and timer support
[lunaix-os.git] / lunaix-os / kernel / tty / tty.c
index 1ad0dd47e0390aad672ecd180d09cf1239bde5a3..e9aa42aba3fe09c713e2508baf2e7e0a07844726 100644 (file)
@@ -1,4 +1,4 @@
-#include <libc/string.h>
+#include <klibc/string.h>
 #include <lunaix/tty/tty.h>
 #include <lunaix/constants.h>
 #include <stdint.h>
@@ -104,4 +104,9 @@ void
 tty_get_cpos(unsigned int* x, unsigned int* y) {
     *x = tty_x;
     *y = tty_y;
+}
+
+vga_attribute
+tty_get_theme() {
+    return tty_theme_color;
 }
\ No newline at end of file