diff --git a/zellij-tile/src/shim.rs b/zellij-tile/src/shim.rs index e3537053c..fe41a21b7 100644 --- a/zellij-tile/src/shim.rs +++ b/zellij-tile/src/shim.rs @@ -18,7 +18,7 @@ pub fn unsubscribe(event_types: &[EventType]) { // Plugin Settings pub fn set_selectable(selectable: bool) { - unsafe { host_set_selectable(if selectable { 1 } else { 0 }) }; + unsafe { host_set_selectable(selectable as i32) }; } // Query Functions