move SplitDirection to apprt

This commit is contained in:
Mitchell Hashimoto
2024-02-04 20:42:42 -08:00
parent 1824a0fe87
commit f414787779
7 changed files with 22 additions and 25 deletions

View File

@@ -13,13 +13,6 @@ pub const InspectorMode = Binding.Action.InspectorMode;
pub const SplitFocusDirection = Binding.Action.SplitFocusDirection;
pub const SplitResizeDirection = Binding.Action.SplitResizeDirection;
// This is made extern (c_int) to make interop easier with our embedded
// runtime. The small size cost doesn't make a difference in our union.
pub const SplitDirection = enum(c_int) {
right,
down,
};
// Keymap is only available on macOS right now. We could implement it
// in theory for XKB too on Linux but we don't need it right now.
pub const Keymap = switch (builtin.os.tag) {