From 5fc1540a09f9f4615dc1cb68e1ccd240897598ce Mon Sep 17 00:00:00 2001 From: nick black Date: Mon, 19 Jul 2021 01:43:25 -0400 Subject: [PATCH] fbcon_scrub: return success to get notcurses-demo working in framebuffer --- src/lib/linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/linux.c b/src/lib/linux.c index fb8c8b4b5..c96d8d517 100644 --- a/src/lib/linux.c +++ b/src/lib/linux.c @@ -73,7 +73,7 @@ error: int fbcon_scrub(const struct ncpile* p, sprixel* s){ (void)p; (void)s; - return -1; + return 0; } int fbcon_draw(const struct ncpile *p, sprixel* s, FILE* out, int y, int x){