mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-22 04:38:09 +08:00
Add option for input.
This commit is contained in:

committed by
Arthur Sonzogni

parent
2b7daf061f
commit
33b3d1c7ab
@@ -31,6 +31,11 @@ struct CheckboxOption {
|
||||
std::function<void()> on_change = []() {};
|
||||
};
|
||||
|
||||
struct InputOption {
|
||||
std::function<void()> on_change = [] {};
|
||||
std::function<void()> on_enter = [] {};
|
||||
};
|
||||
|
||||
}; // namespace ftxui
|
||||
|
||||
#endif /* end of include guard: FTXUI_COMPONENT_COMPONENT_OPTIONS_HPP */
|
||||
|
Reference in New Issue
Block a user