diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2021-12-23 17:43:25 +0100 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2021-12-23 17:43:25 +0100 |
commit | 4eca3fdfe2626544da655d0ad8d8a69d7ed18738 (patch) | |
tree | b59292d074f87bdc90838a1298486e4a97c9a714 /src/notcurses.zig | |
parent | 401bb91a64ae517a766be2525a237678666797fb (diff) |
Diffstat (limited to 'src/notcurses.zig')
-rw-r--r-- | src/notcurses.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/notcurses.zig b/src/notcurses.zig index 2adba41..b06775d 100644 --- a/src/notcurses.zig +++ b/src/notcurses.zig @@ -16,3 +16,7 @@ pub fn plane_putchar_yx(plane: ?*nc.ncplane, y: u8, x: u8, c: u8) void { 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); +} |