kFormatEscape
A separator absent from every format name is not absent from every format value, which is the whole difficulty.
Source and package
- Qualified name
-
libtmux::k Format Escape - Namespace
- libtmux
- Package
- libtmux-cxx
- Source
- include/libtmux/snapshot.hpp
- kFormatEscape : std::
string _view -
Description#
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:
␛Sis a separator that was in the value and␛Eis an escape marker that was, and neither has a second reading.