gh-159394: Fix test_curses when $LINES or $COLUMNS is set (GH-159665) The newterm() tests now set the size of the screen explicitly, instead of depending on the environment. Add a test for $LINES and $COLUMNS. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>