refactor: add renderer abstraction layer
This commit is contained in:
parent
9ff63fbed5
commit
b15fa47f30
47 changed files with 1419 additions and 1023 deletions
14
src/renderer/notcurses/input.zig
Normal file
14
src/renderer/notcurses/input.zig
Normal 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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue