Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

command.Command.summary

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
command
Declared in
Command
Package
libtmux
Source
crates/libtmux/src/command.rs
summary ( self ) → CommandSummary
method [source]
method [source]
summary

Build a bounded, sanitized summary of the logical command.

Examples

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

0 declared, 0 inherited

Esc

Type to search.