pub fn list_sessions() -> Result<Vec<Session>>Expand description
Returns all running Zellij sessions as (name, display) pairs.
name is the session name with ANSI codes stripped,
display is the full ANSI-formatted line from list-sessions.
ยงErrors
- Invoking
zellij list-sessionsfails.