mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
Improve the documentation.
This commit is contained in:
committed by
Arthur Sonzogni
parent
5c4cd1add1
commit
9820832fea
@@ -6,11 +6,13 @@
|
||||
|
||||
namespace ftxui {
|
||||
|
||||
namespace {
|
||||
Decorator compose(Decorator a, Decorator b) {
|
||||
return [a = std::move(a), b = std::move(b)](Element element) {
|
||||
return b(a(std::move(element)));
|
||||
};
|
||||
}
|
||||
} // namespace
|
||||
|
||||
/// @brief A decoration doing absolutely nothing.
|
||||
/// @ingroup dom
|
||||
|
||||
Reference in New Issue
Block a user