diff --git a/kernel-src/io/term.c b/kernel-src/io/term.c index 52dbd23a..68648b30 100644 --- a/kernel-src/io/term.c +++ b/kernel-src/io/term.c @@ -39,6 +39,10 @@ void term_getsize(size_t *x, size_t *y, size_t *fbx, size_t *fby) { *fby = fbys; } +static void noop(void *, size_t) { + +} + void term_init() { __assert(fb_liminereq.response); __assert(fb_liminereq.response->framebuffer_count); @@ -48,7 +52,8 @@ void term_init() { uint32_t defaultfg = 0xffffff; // TODO add support for a background if desired by the user - term_ctx = flanterm_fb_init(internalalloc, fb->address, fb->width, fb->height, fb->pitch, + term_ctx = flanterm_fb_init(internalalloc, noop, fb->address, fb->width, fb->height, fb->pitch, + fb->red_mask_size, fb->red_mask_shift, fb->green_mask_size, fb->green_mask_shift, fb->blue_mask_size, fb->blue_mask_shift, NULL, NULL, NULL, &defaultbg, &defaultfg, NULL, NULL, NULL, 0, 0, 1, 1, 1, 0); diff --git a/source-recipes/astral b/source-recipes/astral index 7f0714e7..25864c22 100644 --- a/source-recipes/astral +++ b/source-recipes/astral @@ -3,7 +3,7 @@ version=0 source_dir="kernel-src" allow_network="yes" imagedeps="wget" -flanterm_commit="f95f5584fb87577908beff8cbe0f68fee8940517" +flanterm_commit="347d9cf1e3fced64aa20ab278e2fdcc834086035" regenerate() { rm -f include/limine.h