diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-06 02:27:06 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-06 02:27:06 +0300 |
| commit | 9e9bc8a144667a6b7debfd4f0c7a31ff0e11493a (patch) | |
| tree | 03f1259f91fd9edeacfd4b904f2e84d4acf25232 /src/config | |
| parent | 35b0dff96579f099e0436290085024424ffb289c (diff) | |
feat: manage multiple ssh machines from one client (#3670)
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/sidebar.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/sidebar.rs b/src/config/sidebar.rs index f5715889..32838c21 100644 --- a/src/config/sidebar.rs +++ b/src/config/sidebar.rs @@ -104,6 +104,7 @@ pub struct SidebarTokenStyle { pub enum AgentSidebarToken { StateIcon, StateText, + Machine, Workspace, Tab, Pane, @@ -234,6 +235,7 @@ fn agent_token_name(token: &AgentSidebarToken) -> String { match token { AgentSidebarToken::StateIcon => "state_icon".into(), AgentSidebarToken::StateText => "state_text".into(), + AgentSidebarToken::Machine => "machine".into(), AgentSidebarToken::Workspace => "workspace".into(), AgentSidebarToken::Tab => "tab".into(), AgentSidebarToken::Pane => "pane".into(), @@ -288,6 +290,7 @@ impl<'de> Deserialize<'de> for AgentSidebarToken { &[ ("state_icon", Self::StateIcon), ("state_text", Self::StateText), + ("machine", Self::Machine), ("workspace", Self::Workspace), ("tab", Self::Tab), ("pane", Self::Pane), @@ -393,6 +396,7 @@ impl Default for AgentsSidebarConfig { rows: vec![ vec![ AgentSidebarToken::StateIcon, + AgentSidebarToken::Machine, AgentSidebarToken::Workspace, AgentSidebarToken::Tab, ], @@ -443,6 +447,7 @@ mod tests { vec![ vec![ AgentSidebarToken::StateIcon, + AgentSidebarToken::Machine, AgentSidebarToken::Workspace, AgentSidebarToken::Tab, ], |
