KazDragon/munin ? reverse-engineered prompt

Reverse engineered prompt

Build me a small C++20 library for terminal based UIs that lets me compose screens out of reusable widgets and layouts.

I want to be able to create windows, put components inside them, and arrange those components with things like grid, horizontal and vertical strips, aligned positioning, and compass style placement. Please include a few basic widgets too, like filled boxes, simple images, frames around components, buttons, toggle buttons, editable text fields, multiline text areas, scroll panes, scroll bars, and selectable lists.

It should feel easy to use from a normal console app, and there should be a working example, ideally something like a chess board screen with move lists and a button so I can see how it all fits together. Make sure it builds cleanly with CMake, uses modern C++, and includes tests if that fits naturally. If you need to check current docs for Terminal++ or related dependencies, go ahead and look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab