aboutsummaryrefslogtreecommitdiff
path: root/curses.jai
diff options
context:
space:
mode:
Diffstat (limited to 'curses.jai')
-rw-r--r--curses.jai2
1 files changed, 2 insertions, 0 deletions
diff --git a/curses.jai b/curses.jai
index 718bc51..6dc448d 100644
--- a/curses.jai
+++ b/curses.jai
@@ -102,9 +102,11 @@ noecho :: () -> s32 #foreign ncurses
box :: (win: *WINDOW, verch: u8, horch: u8) -> s32 #foreign ncurses;
init_pair :: (pair: s16, f: s16, b: s16) -> s32 #foreign ncurses;
timeout :: (delay: s32) -> void #foreign ncurses;
+addch :: (ch: u32) -> s32 #foreign ncurses;
mvaddch :: (y: s32, x: s32, ch: u32) -> s32 #foreign ncurses;
clear :: () -> s32 #foreign ncurses;
refresh :: () -> s32 #foreign ncurses;
+move :: (y: s32, x: s32) -> s32 #foreign ncurses;
getmaxyx :: inline (win: *WINDOW, y: *s32, x: *s32) { <<y = getmaxy(win); <<x = getmaxx(win); }
getmaxx :: inline (win: *WINDOW) -> s32 { return ifx win == null then ERR else win._maxx + 1; }