summaryrefslogtreecommitdiffstats
path: root/zellij-server/src/pty.rs
diff options
context:
space:
mode:
Diffstat (limited to 'zellij-server/src/pty.rs')
-rw-r--r--zellij-server/src/pty.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/zellij-server/src/pty.rs b/zellij-server/src/pty.rs
index 0f9001a2f..209970530 100644
--- a/zellij-server/src/pty.rs
+++ b/zellij-server/src/pty.rs
@@ -19,8 +19,8 @@ use zellij_utils::{
input::{
command::{RunCommand, TerminalAction},
layout::{
- FloatingPaneLayout, Layout, PluginUserConfiguration, Run, RunPlugin, RunPluginLocation,
- TiledPaneLayout,
+ FloatingPaneLayout, Layout, PluginUserConfiguration, Run, RunPluginLocation,
+ RunPluginOrAlias, TiledPaneLayout,
},
},
pane_size::Size,
@@ -62,8 +62,8 @@ pub enum PtyInstruction {
Option<TerminalAction>,
Option<TiledPaneLayout>,
Vec<FloatingPaneLayout>,
- usize, // tab_index
- HashMap<(RunPluginLocation, PluginUserConfiguration), Vec<u32>>, // plugin_ids
+ usize, // tab_index
+ HashMap<RunPluginOrAlias, Vec<u32>>, // plugin_ids
ClientId,
), // the String is the tab name
ClosePane(PaneId),
@@ -85,7 +85,7 @@ pub enum PtyInstruction {
Option<bool>, // should float
bool, // should be opened in place
Option<String>, // pane title
- RunPlugin,
+ RunPluginOrAlias,
usize, // tab index
Option<PaneId>, // pane id to replace if this is to be opened "in-place"
ClientId,
@@ -874,7 +874,7 @@ impl Pty {
layout: TiledPaneLayout,
floating_panes_layout: Vec<FloatingPaneLayout>,
default_shell: Option<TerminalAction>,
- plugin_ids: HashMap<(RunPluginLocation, PluginUserConfiguration), Vec<u32>>,
+ plugin_ids: HashMap<RunPluginOrAlias, Vec<u32>>,
tab_index: usize,
client_id: ClientId,
) -> Result<()> {
@@ -1337,7 +1337,7 @@ impl Pty {
should_float: Option<bool>,
should_open_in_place: bool, // should be opened in place
pane_title: Option<String>, // pane title
- run: RunPlugin,
+ run: RunPluginOrAlias,
tab_index: usize, // tab index
pane_id_to_replace: Option<PaneId>, // pane id to replace if this is to be opened "in-place"
client_id: ClientId,