Populate TERRAIN_WINDOW_TERM_WIDTH variable in curses mode, fixes terrain debug window being positioned incorrectly.
Merge pull request #6140 from kevingranade/fix-terrain-debug-windo

Populate TERRAIN_WINDOW_TERM_WIDTH variable in curses mode.