diff --git a/examples/input.qf b/examples/input.qf index 8d7ab11..1d9688b 100644 --- a/examples/input.qf +++ b/examples/input.qf @@ -4,7 +4,6 @@ Vertical { str p GreenLight Input { "First Name....", - None, f } BlueLight Input { diff --git a/examples/text_styles.qf b/examples/text_styles.qf index 7db6097..45a29fc 100644 --- a/examples/text_styles.qf +++ b/examples/text_styles.qf @@ -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" diff --git a/include/quick-ftxui.hpp b/include/quick-ftxui.hpp index a78e239..a8ee865 100644 --- a/include/quick-ftxui.hpp +++ b/include/quick-ftxui.hpp @@ -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");