diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-04 11:31:40 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-04 11:31:40 -0400 |
| commit | 8251da342161767fe203627223ccd4a7026701c6 (patch) | |
| tree | af2db0f11b0ea8ad35f88663a855bab39a80f679 /lib/virtterm.h | |
| download | jove-kernel-8251da342161767fe203627223ccd4a7026701c6.tar.gz jove-kernel-8251da342161767fe203627223ccd4a7026701c6.tar.bz2 jove-kernel-8251da342161767fe203627223ccd4a7026701c6.zip | |
initial commit. working on tasking
Diffstat (limited to 'lib/virtterm.h')
| -rw-r--r-- | lib/virtterm.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/virtterm.h b/lib/virtterm.h new file mode 100644 index 0000000..08e22e9 --- /dev/null +++ b/lib/virtterm.h @@ -0,0 +1,19 @@ +#ifndef _JOVE_LIB_VIRTTERM_H +#define _JOVE_LIB_VIRTTERM_H 1 + +#include <stddef.h> +#include "hal/obj.h" + +struct virtterm +{ + size_t fb_obj; + size_t cursor_col, cursor_row; + size_t width, height; + uint32_t cursor_fg, cursor_bg; +}; + +int vt_write(jove_owned_obj_t *obj, const char *s, size_t n); + +void vt_init(void); + +#endif |
