index — thing @ 7a2b1e0c05f690291f01dcfa0560bbd8acc01ad1

A little something I'm working on

menu: draw at 0,0
crispy-caesus crispy@crispy-caesus.eu
Fri, 14 Aug 2026 10:06:47 +0200
commit

7a2b1e0c05f690291f01dcfa0560bbd8acc01ad1

parent

2c3a0ee83d01236273cc62964cd8f1b3788050a5

3 files changed, 6 insertions(+), 6 deletions(-)

jump to
M main.cmain.c

@@ -6,8 +6,8 @@ #include "term.h"

int main() { uint8_t ret = 0; - struct termios *old_term; - setup_term(old_term); + struct termios old_term; + setup_term(&old_term); static char *elements[] = {"hi", "hello", "what's up", "dang", "this is cool"};

@@ -18,7 +18,7 @@ printf("ERROR: menu failed");

ret = 1; } - return_term(old_term); + return_term(&old_term); if (ret == 0) { printf("%s", elements[seli]); }