refactor: add renderer abstraction layer

This commit is contained in:
CJ van den Berg 2024-04-25 22:45:02 +02:00
parent 9ff63fbed5
commit b15fa47f30
47 changed files with 1419 additions and 1023 deletions

View file

@ -0,0 +1,14 @@
const nc = @import("notcurses");
pub const key = nc.key;
pub const modifier = nc.mod;
pub const event_type = nc.event_type;
pub const utils = struct {
pub const isSuper = nc.isSuper;
pub const isCtrl = nc.isCtrl;
pub const isShift = nc.isShift;
pub const isAlt = nc.isAlt;
pub const key_id_string = nc.key_id_string;
pub const key_string = nc.key_string;
};