maelstrom icon indicating copy to clipboard operation
maelstrom copied to clipboard

Fancy UI build progress window crops from the bottom

Open bobbobbio opened this issue 5 months ago • 0 comments

Specific Maelstrom Program? any test runner

Bug Description If the screen is too small, the build progress window will be cropped. It normally has a max height of 3 lines. If it is cropped it crops from the bottom. This isn't the way you normally would crop a terminal so it causes the progress bar of cargo to be hidden. Also it could cause certain build output lines (like the last ones to be output) to never show (but these are hard to observe anyway)

How to Reproduce have a really short terminal (but not so short that the build window is basically not shown) run maelstrom and make sure a build happens

Expected Behavior It should crop from the top so we can see the bottom of the (psuedo) terminal windows

Additional Context This cropping is happening by ratatui somewhat automatically.

bobbobbio avatar Sep 22 '24 21:09 bobbobbio