Hacker News new | ask | show | jobs
by tancredi 4048 days ago
Try to use with maximised window - it's a bug that happens when trying to draw on a window that's too small
2 comments

Regarding this, does anyone have tips on how best to do curses layouts that support different window sizes? I'm working on a procedurally generated console game in my free time, using Python + curses, and this is an issue I run into as well.

I've been considering taking some time to try to write some sort of "fluid" or "dynamic" layout framework for curses (i.e. specify percents for width / height, and have it automatically expand). Seems like a giant pain though...

That worked perfectly for me, thanks!