summaryrefslogtreecommitdiff
path: root/src/user/app/vterm/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/vterm/font.c')
-rw-r--r--src/user/app/vterm/font.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/user/app/vterm/font.c b/src/user/app/vterm/font.c
index 368d534..e4f124f 100644
--- a/src/user/app/vterm/font.c
+++ b/src/user/app/vterm/font.c
@@ -53,7 +53,8 @@ void font_blit(uint32_t glyph, int x, int y) {
return;
}
- dirty_mark(x, y);
+ dirty_mark(&dirty, x * font.w, y * font.h);
+ dirty_mark(&dirty, (x+1) * font.w - 1, (y+1) * font.h - 1);
char *bitmap = font_data + font.glyph_size * glyph;
for (size_t i = 0; i < font.w; i++) {