News for hackers. Stuff that matters.
Re:Python – Lightweight snake game running in the console by tancredi on Tuesday May 19, 2015 @02:43PM (#9572218)
Try to use with maximised window - it's a bug that happens when trying to draw on a window that's too small
Re:Python – Lightweight snake game running in the console by johnmaguire2013 on Tuesday May 19, 2015 @04:49PM (#9573040)
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...

Re:Python – Lightweight snake game running in the console by coreyja on Tuesday May 19, 2015 @02:46PM (#9572231)
That worked perfectly for me, thanks!