Commit d2ba87c3 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Process commandline arguments for column mode

However, this still doesn't work because the configuration is overridden
due to the color=0 hack. Flags like -t and -d will work as soon as the
color setting override is gone.

Thanks to @mruwek for the reminder.
parent ed0d9e06
...@@ -90,6 +90,7 @@ class UIApplication(CLIApplicationBase): ...@@ -90,6 +90,7 @@ class UIApplication(CLIApplicationBase):
def __init__(self): def __init__(self):
super().__init__() super().__init__()
self._process_flags()
config(p_overrides={('topydo', 'colors'): '0'}) # disable color in output config(p_overrides={('topydo', 'colors'): '0'}) # disable color in output
self.todofile = TodoFile.TodoFile(config().todotxt()) self.todofile = TodoFile.TodoFile(config().todotxt())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment