change fallback behaviour

This commit is contained in:
user
2025-07-08 20:35:55 -04:00
parent 16d8858841
commit f236af2709

View File

@@ -106,9 +106,9 @@ void Aquarium::getTerminalSize() {
height = ws.ws_row; height = ws.ws_row;
width = ws.ws_col; width = ws.ws_col;
} else { } else {
// Fallback cleanup_terminal(0);
height = 24; std::cerr << "Error: Unable to determine terminal size.\n";
width = 80; std::exit(1);
} }
} }