//const std = @import("std"); const nc = @cImport(@cInclude("notcurses/notcurses.h")); pub fn init() ?*nc.notcurses { return nc.notcurses_init(null, null); } pub fn stdplane(runtime: ?*nc.notcurses) ?*nc.ncplane { return nc.notcurses_stdplane(runtime); } pub fn plane_putchar_yx(plane: ?*nc.ncplane, y: u8, x: u8, c: u8) void { var ret = nc.ncplane_putchar_yx(plane, y, x, c); } pub fn render(runtime: ?*nc.notcurses) void { var ret = nc.notcurses_render(runtime); } pub fn plane_set_fg_rgb8(plane: ?*nc.ncplane, r: u8, g: u8, b: u8) void { var ret = nc.ncplane_set_fg_rgb8(plane, r, g, b); }