Core LibraryalphaAPI 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.

attribute libtmux-cxx latest

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::kFormatEscape
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: ␛S is a separator that was in the value and ␛E is an escape marker that was, and neither has a second reading.

Esc

Type to search.

Reference previewOpen reference