mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 10:07:19 +02:00
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:
parent
df41ea9988
commit
585151f184
7 changed files with 24 additions and 21 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue