Cleaner code

This commit is contained in:
Clement Roblot
2024-08-02 22:48:13 +07:00
parent 27424d5c20
commit 10a4a04529
3 changed files with 12 additions and 15 deletions

View File

@@ -104,8 +104,8 @@ Element canvas(std::function<void(Canvas&)>);
Element bold(Element);
Element dim(Element);
Element inverted(Element);
Element selected(Region &selection, std::string &destination, std::function<void(const std::string)> onSelectionChange, Element);
Decorator selected(Region &selection, std::string &destination, std::function<void(const std::string)> onSelectionChange);
Element selected(Region &selection, std::function<void(const std::string)> onSelectionChange, Element);
Decorator selected(Region &selection, std::function<void(const std::string)> onSelectionChange);
Element underlined(Element);
Element underlinedDouble(Element);
Element blink(Element);