Files
seer/tests/helloucurses/helloucurses.c
T

28 lines
472 B
C
Raw Normal View History

2025-01-25 11:00:09 -06:00
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
2025-01-31 19:03:07 -06:00
#include <unistd.h>
2025-01-25 11:00:09 -06:00
#include "uCurses.h"
#include "uC_terminfo.h"
#include "uC_attribs.h"
int main (int argc, char* argv[]) {
// not defining any windows, just used to position cursor
// on the screen
uCurses_init();
uC_clear();
uC_cup(5,5);
uC_terminfo_flush();
2025-01-31 19:03:07 -06:00
write(1, "Hello", 5);
2025-01-25 11:00:09 -06:00
uC_console_reset_attrs();
uC_cup(10, 0);
uCurses_deInit();
}