diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-08 10:47:10 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-08 10:47:10 -0400 |
commit | 5372fc3bfdec1485214cb09f2b519223937d8a24 (patch) | |
tree | 6a499d11db8191c0a7dd38171aef65addbaf2639 /kernel/include | |
parent | remove README (diff) | |
download | comus-5372fc3bfdec1485214cb09f2b519223937d8a24.tar.gz comus-5372fc3bfdec1485214cb09f2b519223937d8a24.tar.bz2 comus-5372fc3bfdec1485214cb09f2b519223937d8a24.zip |
tty => term
Diffstat (limited to 'kernel/include')
-rw-r--r-- | kernel/include/comus/drivers/term.h | 37 | ||||
-rw-r--r-- | kernel/include/comus/drivers/tty.h | 22 |
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 */ |