Results of today's code review session.

This commit is contained in:
Zed A. Shaw 2025-01-05 15:07:30 -05:00
parent 14b3ea7676
commit f35b74f335
21 changed files with 64 additions and 59 deletions

View file

@ -31,6 +31,7 @@ using namespace ftxui;
using namespace components;
void InventoryUI::create_render() {
has_border = true;
MenuOption option;
$inventory_box = Menu(&$menu_list, &$selected, option);
@ -45,7 +46,7 @@ void InventoryUI::create_render() {
vflow({
paragraph($item_text) | border
}) | flex
}) | border | flex;
}) | flex;
});
set_renderer($inventory_render);