libtmux Reference MCP Search
On this page

libtmux::kFormatEscape

View as Markdown

Module
libtmux
Package
libtmux-cxx
Source
include/libtmux/snapshot.hpp
kFormatEscape : std::string_view
attribute [source]
attribute [source]
kFormatEscape

A separator absent from every format name is not absent from every format value, which is the whole difficulty.

tmux rename-window 'a␞b` is accepted, and one such name used to make every window and pane listing on that server fail to split — data the caller never chose breaking reads of everything else.

So tmux escapes the separator before it can be mistaken for one. U+241B pairs with it and is escaped in turn, which is what makes the transform reversible: ␛S is a separator that was in the value and ␛E is an escape marker that was, and neither has a second reading.

0 declared, 0 inherited

Esc

Type to search.