Crash more quickly if (offline) console is resized too small 0.26-a0
authoradvil <rawlins@gmail.com>
Sat, 23 May 2020 15:19:43 +0000 (11:19 -0400)
committeradvil <rawlins@gmail.com>
Sat, 23 May 2020 15:19:43 +0000 (11:19 -0400)
commit95c47da36813473c5bd7b879532fa55730c78476
tree2d6fc4611bb9c69d3c84f505f910ccf256ce08d2
parent7f6bfe439b2e8a2d01bfc3d6fc370ea93cfb832b
Crash more quickly if (offline) console is resized too small

If `winner` is not valid here, then some of the following coordinate
assignments will also be invalid and lead to somewhat unpredictable
crashes later (because the `valid` bool is set basically if the
coordinate setup aborts in the middle). This standardizes the crashes.

What would be much, much better is if the display just blanked with a
message saying "your term is too small" until the player resized again,
without crashing.
crawl-ref/source/libutil.cc
crawl-ref/source/viewgeom.cc