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.

struct libtmux-cxx latest

formatter<libtmux::Session>

An entity formats as it prints.

Source and package
Qualified name
std::formatter<libtmux::Session>
Namespace
std
Package
libtmux-cxx
Source
include/libtmux/entities.hpp
struct std::formatter<libtmux::Session>

Description#

Inheriting the string formatter keeps fill, alignment and width working, so {:>24} pads a pane exactly as it pads its text. __cpp_lib_format is deliberately not tested: libc++ 18 leaves it undefined while std::format works, so guarding on it would drop these from the clang lane and keep them on the GCC one.

Members1#

Esc

Type to search.

Reference previewOpen reference