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:
parent
5df9a57a8b
commit
d46816589e
3 changed files with 72 additions and 16 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue