Add "frame" : scrollable area.

This commit is contained in:
Arthur Sonzogni
2019-01-19 22:06:05 +01:00
parent cb4df0b56f
commit fddcbdea65
50 changed files with 543 additions and 243 deletions

View File

@@ -24,7 +24,7 @@ int main(int argc, const char *argv[])
)
);
}
auto document = hbox(vbox(std::move(entries)) | frame, filler());
auto document = hbox(vbox(std::move(entries)) | border, filler());
auto screen = Screen::TerminalOutput(document);
Render(screen, document.get());
std::cout << reset_position << screen.ToString() << std::flush;