Configuration

- The old 'curses' configuration variable is now replaced by 'detection', and
  has the same meaning - whether or not to auto-detect terminal size.
This commit is contained in:
Paul Beckingham 2011-04-03 18:24:50 -04:00
parent df41ea9988
commit 585151f184
7 changed files with 24 additions and 21 deletions

View file

@ -55,7 +55,7 @@ int Context::getWidth ()
if (width == 0)
return 65536;
if (config.getBoolean ("curses"))
if (config.getBoolean ("detection"))
{
if (terminal_width == 0 &&
terminal_height == 0)
@ -83,7 +83,7 @@ int Context::getHeight ()
{
int height = 24;
if (config.getBoolean ("curses"))
if (config.getBoolean ("detection"))
{
if (terminal_width == 0 &&
terminal_height == 0)