mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-17 16:38:09 +08:00
We can act on the screen
This commit is contained in:

committed by
ArthurSonzogni

parent
1325256aa9
commit
cb2436f13f
@@ -55,6 +55,9 @@ int main() {
|
||||
|
||||
// Tweak how the component tree is rendered:
|
||||
auto renderer = Renderer(component, [&] {
|
||||
|
||||
textToCopy = screen.getSelection();
|
||||
|
||||
return vbox({
|
||||
hbox(text(" First name : "), input_first_name->Render()),
|
||||
hbox(text(" Last name : ") | selectable(), input_last_name->Render()),
|
||||
|
Reference in New Issue
Block a user