|
ttx 0.1.0
|
Implementation of clipboard handling for ttx. More...
#include <ttx/clipboard.h>
Classes | |
| struct | Identifier |
| struct | Reply |
Public Member Functions | |
| Clipboard (ClipboardMode mode, Feature features) | |
| auto | set_clipboard (terminal::SelectionType type, di::Vector< byte > data, dius::SteadyClock::TimePoint reception=dius::SteadyClock::now()) -> bool |
| auto | request_clipboard (terminal::SelectionType type, Identifier const &identifier, dius::SteadyClock::TimePoint reception=dius::SteadyClock::now()) -> bool |
| void | got_clipboard_response (terminal::SelectionType type, di::Vector< byte > data, dius::SteadyClock::TimePoint reception=dius::SteadyClock::now()) |
| auto | get_replies (dius::SteadyClock::TimePoint reception=dius::SteadyClock::now()) -> di::Vector< Reply > |
Static Public Attributes | |
| static constexpr auto | request_timeout = di::chrono::Seconds(1) |
Implementation of clipboard handling for ttx.
This class supports a number of different simulataneous selections, each of which can be queried or set.
|
explicit |
|
nodiscard |
| void ttx::Clipboard::got_clipboard_response | ( | terminal::SelectionType | type, |
| di::Vector< byte > | data, | ||
| dius::SteadyClock::TimePoint | reception = dius::SteadyClock::now() ) |
|
nodiscard |
|
nodiscard |
|
staticconstexpr |