Added experimental keymaps support
This commit is contained in:
parent
fa48440ba3
commit
0a40cc0370
6 changed files with 54 additions and 20 deletions
|
@ -46,7 +46,10 @@ use crate::mappings::{
|
|||
|
||||
///Initialize and register all of our action handlers
|
||||
pub fn init(cx: &mut MutableAppContext) {
|
||||
cx.add_action(deploy_modal);
|
||||
let settings = cx.global::<Settings>();
|
||||
if settings.experiments.modal_terminal() {
|
||||
cx.add_action(deploy_modal);
|
||||
}
|
||||
|
||||
terminal_view::init(cx);
|
||||
connected_view::init(cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue