Skip to content

Commit

Permalink
[Docs] Modified examples to match with docs
Browse files Browse the repository at this point in the history
Signed-off-by: Vedant <[email protected]>
  • Loading branch information
vrnimje committed Sep 30, 2023
1 parent 647b36a commit 71fb44b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion examples/input.qf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Vertical {
str p
GreenLight Input {
"First Name....",
None,
f
}
BlueLight Input {
Expand Down
1 change: 1 addition & 0 deletions examples/text_styles.qf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Vertical {
blink Text("This is blinking")
Red inverted Text("This has an inverted look")
strikethrough Text("This is strikethrough")
Blue hyperlink Text("Google", "https://www.google.com/")
Red Button {
"X",
"Exit"
Expand Down
3 changes: 1 addition & 2 deletions include/quick-ftxui.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,7 @@ struct node_printer : boost::static_visitor<> {
case quick_ftxui_ast::input_option::Password:
pass.password = true;
data->components.push_back(
ftxui::Input(&It->second, text.placeholder, pass) |
ftxui::color(input_clr));
ftxui::Input(&It->second, text.placeholder, pass));
break;
default:
throw std::runtime_error("Should never reach here");
Expand Down

0 comments on commit 71fb44b

Please sign in to comment.