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

PaneId

A native tmux pane ID such as %1.

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

Description

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

Examples

use libtmux::PaneId;
let second: PaneId = "%2".parse()?;
let tenth: PaneId = "%10".parse()?;
assert!(second < tenth);
Esc
Search in

Type to search.

Reference previewOpen reference