Skip to content

Commit 01eb2f6

Browse files
committed
Fixes suggested by @ArthurSonzogni
Re: #5
1 parent 69ccbc8 commit 01eb2f6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ struct Bitmap : ftxui::Node
179179
};
180180
}
181181

182-
void SetBox(ftxui::Box box) override { box_ = box; }
183-
184182
void Render(ftxui::Screen &screen) override
185183
{
186184
for (std::size_t x = 0; x < width_; ++x) {
@@ -283,9 +281,8 @@ void game_iteration_canvas()
283281
small_bm | ftxui::border }) });
284282
};
285283

286-
auto container = ftxui::Container::Vertical({});
284+
auto renderer = ftxui::Renderer(make_layout);
287285

288-
auto renderer = ftxui::Renderer(container, make_layout);
289286

290287
std::atomic<bool> refresh_ui_continue = true;
291288

0 commit comments

Comments
 (0)