Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

method libtmux-java latest

TmuxFormats.printed

Text as tmux held it, from a line it printed.

Source and package
Qualified name
io.github.libtmux.TmuxFormats.printed
Package
io.github.libtmux
Declared in
TmuxFormats
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/TmuxFormats.java

Description#

tmux 3.4 alone puts a backslash before every $ that an ASCII letter, _, or { follows, in everything it prints: formats, listings, and show-options -v. 3.5 stopped (692ce59b). Each escape is exactly one backslash in that position, so removing it restores the text on 3.4 and changes nothing elsewhere.

3.4 through 3.5a also print a control character as a C escape or three octal digits, \033 for ESC, and leave a backslash as it is. That is not undone: \033 could as well be those four characters, which a terminal-overrides entry often holds, so the text is left as tmux printed it.

Parameters
Esc

Type to search.

Reference preview Open reference