Added 'open in terminal' action to the project panel context menu
Also slightly re-arranged the project panel context menu
This commit is contained in:
@@ -203,7 +203,15 @@ impl Clone for Toast {
|
||||
}
|
||||
}
|
||||
|
||||
impl_actions!(workspace, [ActivatePane, ActivatePaneInDirection, Toast]);
|
||||
#[derive(Clone, Deserialize, PartialEq)]
|
||||
pub struct OpenTerminal {
|
||||
pub working_directory: PathBuf,
|
||||
}
|
||||
|
||||
impl_actions!(
|
||||
workspace,
|
||||
[ActivatePane, ActivatePaneInDirection, Toast, OpenTerminal]
|
||||
);
|
||||
|
||||
pub type WorkspaceId = i64;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user