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.

method libtmux-rs latest

Command.summary

Build a bounded, sanitized summary of the logical command.

Source and package
Qualified name
libtmux::command::Command::summary
Module
command
Declared in
Command
Package
libtmux
Source
crates/libtmux/src/command.rs
#[must_use] pub fn summary(&self) -> CommandSummary

Examples#

use libtmux::Command;
let summary = Command::new("display-message").arg("value;").summary();
assert_eq!(summary.to_string(), r#""display-message" "value;""#);
Esc

Type to search.

Reference previewOpen reference