diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-10-18 00:45:42 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-10-18 00:45:42 +0800 |
| commit | 795126a90d651ede075e9a94741dae4841e4de62 (patch) | |
| tree | 817f4642c54240f255191dd28124206833f6f561 /include/ricochet/tui/view.hh | |
| parent | 6ac5c86e5d00e65f47a710e31f9c08b6a13f3bce (diff) | |
| download | rwebbrowser-795126a90d651ede075e9a94741dae4841e4de62.tar.gz rwebbrowser-795126a90d651ede075e9a94741dae4841e4de62.tar.xz | |
feat(tui): add structured selection text and clipboard messages
Diffstat (limited to 'include/ricochet/tui/view.hh')
| -rw-r--r-- | include/ricochet/tui/view.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ricochet/tui/view.hh b/include/ricochet/tui/view.hh index d259cf3..f5f33d4 100644 --- a/include/ricochet/tui/view.hh +++ b/include/ricochet/tui/view.hh @@ -39,6 +39,9 @@ struct SelectionSnapshot // The normalized half-open range also covers any controls between its endpoints. DocumentRange range {}; SelectionDirection direction { SelectionDirection::Forward }; + // Inclusive endpoint units retain the anchor through reversal and history restore. + DocumentRange anchor {}; + DocumentRange active {}; }; struct HorizontalScroll |
