flow/src/keybind/static/root.zig

23 lines
618 B
Zig

pub const mode = struct {
pub const mini = struct {
pub const goto = @import("goto.zig");
};
};
pub const Mode = struct {
handler: EventHandler,
name: []const u8 = "",
line_numbers: enum { absolute, relative } = .absolute,
keybind_hints: ?*const KeybindHints = null,
cursor_shape: renderer.CursorShape = .block,
pub fn deinit(self: *Mode) void {
self.handler.deinit();
}
};
pub const KeybindHints = std.static_string_map.StaticStringMap([]const u8);
const renderer = @import("renderer");
const EventHandler = @import("EventHandler");
const std = @import("std");