chore: update to zellzig 0.34.3

This commit is contained in:
LordMZTE 2022-12-11 18:33:53 +01:00
parent 3340588e03
commit f0714a7307
Signed by: LordMZTE
GPG Key ID: B64802DC33A64FF6
1 changed files with 7 additions and 10 deletions

View File

@ -487,15 +487,6 @@ pub const PluginIds = struct {
zellij_pid: u32,
};
pub const ResizeDirection = enum {
Left,
Right,
Up,
Down,
Increase,
Decrease,
};
pub const Position = struct {
line: isize,
column: usize,
@ -557,11 +548,17 @@ pub const PaneLayout = struct {
run: ?Run,
};
pub const Resize = enum {
Increase,
Decrease,
};
pub const EditFileInfo = std.meta.Tuple(&.{ []u8, ?usize, ?Direction, bool });
pub const NewTiledPaneInfo = std.meta.Tuple(&.{ ?Direction, ?RunCommandAction, ?[]u8 });
pub const NewTabInfo = std.meta.Tuple(&.{ ?PaneLayout, ?[]u8 });
pub const NewPaneInfo = std.meta.Tuple(&.{ ?Direction, ?[]u8 });
pub const NewFloatingPaneInfo = std.meta.Tuple(&.{ ?RunCommandAction, ?[]u8 });
pub const ResizeInfo = std.meta.Tuple(&.{ Resize, ?Direction });
pub const Action = union(enum) {
Quit,
@ -569,7 +566,7 @@ pub const Action = union(enum) {
WriteChars: []u8,
SwitchToMode: InputMode,
SwitchToModeForAllClients: InputMode,
Resize: ResizeDirection,
Resize: ResizeInfo,
FocusNextPane,
FocusPreviousPane,
SwitchFocus,