summaryrefslogtreecommitdiff
path: root/kernel/include
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include')
-rw-r--r--kernel/include/comus/drivers/term.h37
-rw-r--r--kernel/include/comus/drivers/tty.h22
2 files changed, 37 insertions, 22 deletions
diff --git a/kernel/include/comus/drivers/term.h b/kernel/include/comus/drivers/term.h
new file mode 100644
index 0000000..ad55bfd
--- /dev/null
+++ b/kernel/include/comus/drivers/term.h
@@ -0,0 +1,37 @@
+/**
+ * @file tty.h
+ *
+ * @author Freya Murphy <freya@freyacat.org>
+ *
+ * Terminal output
+ */
+
+#ifndef TERM_H_
+#define TERM_H_
+
+/**
+ * Output a character to the terminal
+ */
+void term_out(char c);
+
+/**
+ * Output a string to the terminal
+ */
+void term_out_str(const char *str);
+
+/**
+ * Clear all lines on the terminal
+ */
+void term_clear(void);
+
+/**
+ * Clear a specifc line on the terminal terminal
+ */
+void term_clear_line(int line);
+
+/**
+ * Scroll terminal
+ */
+void term_scroll(int lines);
+
+#endif /* tty.h */
diff --git a/kernel/include/comus/drivers/tty.h b/kernel/include/comus/drivers/tty.h
deleted file mode 100644
index 55aec64..0000000
--- a/kernel/include/comus/drivers/tty.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * @file tty.h
- *
- * @author Freya Murphy <freya@freyacat.org>
- *
- * Terminal output
- */
-
-#ifndef TTY_H_
-#define TTY_H_
-
-/**
- * Output a character to the terminal
- */
-void tty_out(char c);
-
-/**
- * Output a string to the terminal
- */
-void tty_out_str(const char *str);
-
-#endif /* tty.h */