each screen now has it's own file, and there is a framework for adding more

This commit is contained in:
2025-08-05 17:30:03 -04:00
parent db26be2a07
commit 914ce0d7ad
8 changed files with 64 additions and 43 deletions

8
error.c Normal file
View File

@@ -0,0 +1,8 @@
/* SPDX-License-Identifier: MIT */
#include <curses.h>
#include "screens.h"
void draw_error(struct Screen *screen, __attribute__((unused)) char *input) {
mvwprintw(screen->win, 1, 2, "%s", error_message);
}