require a bit bigger screen so all possible dialogs will fit

This commit is contained in:
Andrzej Rybczak
2012-09-13 20:21:02 +02:00
parent dd7665bb7d
commit fcc097fc76
5 changed files with 8 additions and 37 deletions

View File

@@ -84,10 +84,10 @@ void Action::ValidateScreenSize()
{
using Global::MainHeight;
if (COLS < 20 || MainHeight < 3)
if (COLS < 30 || MainHeight < 5)
{
NC::destroyScreen();
std::cout << "Screen is too small!\n";
std::cout << "Screen is too small to handle ncmpcpp correctly\n";
exit(1);
}
}