create driven example for tui renderer

This commit is contained in:
Evan Almloff committed 2023-02-07 14:14:04 -06:00
1 parent c805bc25af
commit 71e34452da
10 files changed
+276 -34

No files matched your search

+2 -1
View File
@@ -73,10 +73,11 @@ impl<'a, V: FromAnyValue> NodeView<'a, V> {
self.mask
.text
.then_some(match &self.inner {
NodeType::Text(text) => Some(&**text),
NodeType::Text(text) => Some(&text.text),
_ => None,
})
.flatten()
.map(|x| &**x)
}
/// Get the listeners if it is enabled in the mask