Added context menu to terminal

This commit is contained in:
Mikayla Maki 2022-08-04 11:22:09 -07:00
parent 907d3e4035
commit d823da05ee
4 changed files with 54 additions and 13 deletions

View file

@ -27,7 +27,6 @@ use futures::{
use modal::deploy_modal;
use settings::{Settings, Shell};
use std::{collections::HashMap, fmt::Display, path::PathBuf, sync::Arc, time::Duration};
use terminal_view::TerminalView;
use thiserror::Error;
use gpui::{
@ -43,9 +42,9 @@ use crate::mappings::{
///Initialize and register all of our action handlers
pub fn init(cx: &mut MutableAppContext) {
cx.add_action(TerminalView::deploy);
cx.add_action(deploy_modal);
terminal_view::init(cx);
connected_view::init(cx);
}