fix: add zellij version support

This commit is contained in:
LordMZTE 2022-10-28 16:03:37 +02:00
parent 1ed6525cf2
commit e3368310f8
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
2 changed files with 2 additions and 2 deletions

View file

@ -13,8 +13,6 @@ pub fn build(b: *std.build.Builder) !void {
lib.target.os_tag = .wasi;
lib.strip = mode != .Debug;
lib.strip = mode != .Debug;
pkgs.addAllTo(lib);
const main_tests = b.addTest("src/main.zig");

View file

@ -18,6 +18,8 @@ var mode: zz.types.InputMode = undefined;
var pal: zz.types.Palette = undefined;
var keymap: Keymap = .{};
pub const zellij_version = "0.33.0";
pub fn init() void {
zz.api.setSelectable(false);
zz.api.subscribe(&[_]zz.types.EventType{.ModeUpdate}) catch