pub enum TearSignalKind {
Show 14 variants
SessionActive,
SessionDetached,
PaneZoomed,
PrefixArmed,
Online,
Offline,
Degraded,
Bell,
FleetMark,
Window,
SplitHorizontal,
SplitVertical,
SyncPanes,
CopyMode,
}Expand description
A semantic name for one fleet/tear status signal. Each variant maps
to exactly one field of TearSignals (which composes the shared
ishou_tokens::FleetSignals vocabulary) — so an operator writes
Segment::Signal { kind: TearSignalKind::SessionActive, .. } and gets
the fleet-uniform 🌊 / ≈ / active triple instead of hand-typing
an emoji into a Segment::Text. Touching the ishou atlas moves the
glyph fleet-wide on the next compile; tear never hardcodes the mark.
Variants§
SessionActive
An attached, live session — the fleet 🌊 tide mark.
SessionDetached
A detached / sleeping session.
PaneZoomed
A zoomed / maximized pane.
PrefixArmed
The multiplexer prefix key is armed (awaiting a command key).
Online
Connected / healthy.
Offline
Disconnected / down.
Degraded
Degraded / partial.
Bell
Terminal bell / attention.
FleetMark
The pleme-io fleet mark — Nord frost ❄.
Window
A window (a tab / group of panes).
SplitHorizontal
A horizontal split.
SplitVertical
A vertical split.
SyncPanes
Input synchronized across panes (send-to-all).
CopyMode
Copy-mode / scrollback navigation active.
Implementations§
Source§impl TearSignalKind
impl TearSignalKind
Sourcepub fn signal(self) -> Signal
pub fn signal(self) -> Signal
The Signal triple this kind names, drawn from the prescribed
TearSignals atlas. The single source of truth for tear’s
status glyphs — no literal emoji lives in tear’s source.
Sourcepub fn render(self, mode: SignalRenderMode) -> &'static str
pub fn render(self, mode: SignalRenderMode) -> &'static str
Render this kind’s glyph at mode, falling back so a chosen field
that is empty (e.g. a bare-tier emoji) still yields a non-empty
mark rather than vanishing from the bar.
Trait Implementations§
Source§impl Clone for TearSignalKind
impl Clone for TearSignalKind
Source§fn clone(&self) -> TearSignalKind
fn clone(&self) -> TearSignalKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more