diff options
Diffstat (limited to 'src/loader/sel.c')
-rw-r--r-- | src/loader/sel.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/loader/sel.c b/src/loader/sel.c new file mode 100644 index 0000000..c4303a4 --- /dev/null +++ b/src/loader/sel.c @@ -0,0 +1,20 @@ +// MIT License, Copyright (c) 2021 Marvin Borner +// Selection interface + +#include <cfg.h> +#include <def.h> +#include <log.h> +#include <sel.h> + +static u8 sel_entry(struct cfg_entry *entry) +{ + vga_log("> '%s' (%s)\n", entry->name, entry->path); + return 0; +} + +void sel_draw(void) +{ + vga_clear(); + + cfg_foreach(&sel_entry); +} |