Represents a request to set the current window title.
More...
#include <ttx/terminal/escapes/osc_2.h>
|
| static auto | parse (di::TransparentStringView data) -> di::Optional< OSC2 > |
|
| constexpr friend auto | tag_invoke (di::Tag< di::reflect >, di::InPlaceType< OSC2 >) |
Represents a request to set the current window title.
Currently we only support UTF-8 window titles but xterm has extensions to configure different formats for the window title. The parse() function could handle this in the future.
◆ clone()
| auto ttx::terminal::OSC2::clone |
( |
| ) |
const -> OSC2 |
|
inline |
◆ operator==()
| auto ttx::terminal::OSC2::operator== |
( |
OSC2 const & | other | ) |
const -> bool=default |
|
default |
◆ parse()
| auto ttx::terminal::OSC2::parse |
( |
di::TransparentStringView | data | ) |
-> di::Optional< OSC2 > |
|
static |
◆ serialize()
| auto ttx::terminal::OSC2::serialize |
( |
| ) |
const -> di::String |
◆ tag_invoke
| friend auto tag_invoke |
( |
di::Tag< di::reflect > | , |
|
|
di::InPlaceType< OSC2 > | ) |
|
friend |
◆ window_title
| di::String ttx::terminal::OSC2::window_title |
The documentation for this struct was generated from the following files: