aboutsummaryrefslogtreecommitdiff
path: root/src/tui/text.hh
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-10-26 23:25:13 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-10-26 23:25:13 +0800
commit079eacb0f80b7b0d13b35544c382ac50fee9076d (patch)
tree272a50872348d0c60a9a794083ea8a2182676a0b /src/tui/text.hh
parent9bfcdbf2131ae6c08040226be6e92447db625b18 (diff)
downloadrwebbrowser-master.tar.gz
rwebbrowser-master.tar.xz
feat(tui): integrate address input and navigation requestsHEADmaster
Diffstat (limited to 'src/tui/text.hh')
-rw-r--r--src/tui/text.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tui/text.hh b/src/tui/text.hh
index eb0a2bb..99fd7c9 100644
--- a/src/tui/text.hh
+++ b/src/tui/text.hh
@@ -57,6 +57,8 @@ struct Grapheme
struct TextAnalysis
{
std::vector<Grapheme> graphemes {};
+ // All codepoints, including combining marks; an empty input is whitespace-only.
+ bool whitespace_only { true };
// Vim-style reading units: letters/numbers/underscore, punctuation runs,
// individual ideographs. Whitespace is excluded; offsets remain UTF-8 bytes.
std::vector<ByteRange> words {};