summaryrefslogtreecommitdiff
path: root/src/user/app/vterm/vterm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/vterm/vterm.h')
-rw-r--r--src/user/app/vterm/vterm.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/user/app/vterm/vterm.h b/src/user/app/vterm/vterm.h
index 5cfc609..b006ede 100644
--- a/src/user/app/vterm/vterm.h
+++ b/src/user/app/vterm/vterm.h
@@ -2,6 +2,7 @@
#include <camellia/types.h>
#include <stdint.h>
#include <stdio.h>
+#include <user/lib/draw/draw.h>
#define eprintf(fmt, ...) fprintf(stderr, "vterm: "fmt"\n" __VA_OPT__(,) __VA_ARGS__)
@@ -21,20 +22,10 @@ extern void *font_data;
void font_load(const char *path);
void font_blit(uint32_t glyph, int x, int y);
-
-struct framebuf {
- size_t len, width, height, pitch;
- uint8_t bpp;
- char *b;
-};
extern struct framebuf fb;
-extern handle_t fb_fd;
-struct rect {
- uint32_t x1, y1, x2, y2;
-};
extern struct rect dirty;
-void dirty_mark(uint32_t x, uint32_t y);
+void vdirty_mark(uint32_t x, uint32_t y);
void flush(void);
void scroll(void);