ttx 0.1.0
|
Represents the visual selection of a terminal. More...
#include <ttx/terminal/selection.h>
Public Member Functions | |
constexpr auto | normalize () const -> Selection |
Normalize the selection so that start <= end. | |
constexpr auto | operator== (Selection const &other) const -> bool |
Public Attributes | |
SelectionPoint | start |
The start of the selection. | |
SelectionPoint | end |
The end of the selection (inclusive) | |
Friends | |
constexpr friend auto | tag_invoke (di::Tag< di::reflect >, di::InPlaceType< Selection >) |
Represents the visual selection of a terminal.
|
inlineconstexpr |
Normalize the selection so that start <= end.
|
inlineconstexpr |
|
friend |
SelectionPoint ttx::terminal::Selection::end |
The end of the selection (inclusive)
SelectionPoint ttx::terminal::Selection::start |
The start of the selection.