diff options
Diffstat (limited to 'src/main.zig')
-rw-r--r-- | src/main.zig | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main.zig b/src/main.zig index a93a524..fefba0a 100644 --- a/src/main.zig +++ b/src/main.zig @@ -1,6 +1,11 @@ const std = @import("std"); -const notcurses = @import("notcurses.zig"); +const nc = @import("notcurses.zig"); pub fn main() anyerror!void { - var nc = notcurses.init(); + var runtime = nc.init(); + var plane = nc.stdplane(runtime); + nc.plane_putchar_yx(plane, 1, 2, 'T'); + while (true) { + nc.render(runtime); + } } |