|
ttx 0.1.0
|
Represents a coordinate anywhere in a screen, including scroll back. More...
#include <ttx/terminal/absolute_position.h>
Public Member Functions | |
| auto | operator== (AbsolutePosition const &) const -> bool=default |
| auto | operator<=> (AbsolutePosition const &) const =default |
Public Attributes | |
| u64 | row { 0 } |
| The absolute row in a screen. | |
| u32 | col { 0 } |
| The column in the specified row. | |
Friends | |
| constexpr friend auto | tag_invoke (di::Tag< di::reflect >, di::InPlaceType< AbsolutePosition >) |
Represents a coordinate anywhere in a screen, including scroll back.
The row coordinate if measured in absolute units, and so can refer to rows in the scroll back buffer.
|
default |
|
default |
|
friend |
| u32 ttx::terminal::AbsolutePosition::col { 0 } |
The column in the specified row.
| u64 ttx::terminal::AbsolutePosition::row { 0 } |
The absolute row in a screen.