add a better error message for bad terminal dimensions