aboutsummaryrefslogtreecommitdiffstats
path: root/default-plugins/sequence/src/state/command_status.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2026-02-24 13:10:40 +0100
committerGitHub <noreply@github.com>2026-02-24 13:10:40 +0100
commit8cd6286c3ffc10d14fdafd5005fa89b0f7fdcd44 (patch)
treec6341f5e3e251ae17db0c3427ddaf1e54d4fa91c /default-plugins/sequence/src/state/command_status.rs
parentAllow closing replaced panes when opening panes in place (#4760) (diff)
downloadsl0ppij-8cd6286c3ffc10d14fdafd5005fa89b0f7fdcd44.tar.gz
sl0ppij-8cd6286c3ffc10d14fdafd5005fa89b0f7fdcd44.tar.xz
sl0ppij-8cd6286c3ffc10d14fdafd5005fa89b0f7fdcd44.zip
remove sequence plugin (#4761)
Diffstat (limited to 'default-plugins/sequence/src/state/command_status.rs')
-rw-r--r--default-plugins/sequence/src/state/command_status.rs26
1 files changed, 0 insertions, 26 deletions
diff --git a/default-plugins/sequence/src/state/command_status.rs b/default-plugins/sequence/src/state/command_status.rs
deleted file mode 100644
index 39717e8b..00000000
--- a/default-plugins/sequence/src/state/command_status.rs
+++ /dev/null
@@ -1,26 +0,0 @@
-use zellij_tile::prelude::*;
-
-#[derive(Debug, Clone)]
-pub enum CommandStatus {
- Exited(Option<i32>, Option<PaneId>),
- Running(Option<PaneId>),
- Pending,
- Interrupted(Option<PaneId>),
-}
-
-impl CommandStatus {
- pub fn get_pane_id(&self) -> Option<PaneId> {
- match self {
- CommandStatus::Exited(_, pane_id) => *pane_id,
- CommandStatus::Running(pane_id) => *pane_id,
- CommandStatus::Pending => None,
- CommandStatus::Interrupted(pane_id) => *pane_id,
- }
- }
-}
-
-impl Default for CommandStatus {
- fn default() -> Self {
- CommandStatus::Pending
- }
-}