diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2021-12-20 18:19:19 +0100 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2021-12-20 18:19:19 +0100 |
commit | 401bb91a64ae517a766be2525a237678666797fb (patch) | |
tree | 18b236253da5732d1c02fc58ea1056b5c6677a8b /src/main.zig | |
parent | 83c27ccc818df03c906ddc90357b99fddbfafbc0 (diff) |
setup
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); + } } |