ttx 0.1.0
|
Represents the saved cursor state, which is used for save/restore cursor operations. More...
#include <ttx/terminal/screen.h>
Public Member Functions | |
auto | operator== (SavedCursor const &) const -> bool=default |
auto | operator<=> (SavedCursor const &) const =default |
Public Attributes | |
u32 | row { 0 } |
Row (y coordinate) | |
u32 | col { 0 } |
Column (x coordinate) | |
bool | overflow_pending { false } |
Signals that the previous text outputted reached the end of a row. | |
GraphicsRendition | graphics_rendition {} |
Active graphics rendition. | |
OriginMode | origin_mode { OriginMode::Disabled } |
Origin mode. | |
Friends | |
constexpr friend auto | tag_invoke (di::Tag< di::reflect >, di::InPlaceType< SavedCursor >) |
Represents the saved cursor state, which is used for save/restore cursor operations.
The attributes which are saved and restored are defined in the manual for the DECSC escape sequence.
|
default |
|
default |
|
friend |
u32 ttx::terminal::SavedCursor::col { 0 } |
Column (x coordinate)
GraphicsRendition ttx::terminal::SavedCursor::graphics_rendition {} |
Active graphics rendition.
OriginMode ttx::terminal::SavedCursor::origin_mode { OriginMode::Disabled } |
Origin mode.
bool ttx::terminal::SavedCursor::overflow_pending { false } |
Signals that the previous text outputted reached the end of a row.
u32 ttx::terminal::SavedCursor::row { 0 } |
Row (y coordinate)