Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

struct libtmux-rs

SessionId

A native tmux session ID such as $1.

Source and package
Qualified name
libtmux::target::SessionId
Module
target
Package
libtmux
Source
crates/libtmux/src/target.rs
struct target.SessionId

Description

Leading zeroes are accepted but canonicalized to the numeric tmux ID.

Examples

use libtmux::SessionId;
let id: SessionId = "$001".parse()?;
assert_eq!(id.as_ref(), "$1");
Esc
Search in

Type to search.

Reference previewOpen reference