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

libtmux::literal_arguments

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

View as Markdown

Module
libtmux
Package
libtmux-cxx
Source
include/libtmux/keys.hpp
literal_arguments ( text : std::string_view ) → expected< std::vector< std::string >, KeyError >
function [source]
function [source]
literal_arguments

Send text exactly as written: the flag, the end of flags, and the text.

-- is part of the fragment rather than something a caller appends, because text beginning with a dash is read as another send-keys option without it and that is not a mistake worth making twice. It was made twice: this returned the flag and the text alone, Pane::send_text inserted the separator afterwards, and Chain::send_text did not — so the same text through the two spellings reached tmux as two different commands.

0 declared, 0 inherited

Esc

Type to search.