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