mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
added --dark-mode
This commit is contained in:
parent
4e36584392
commit
7c1364b942
1 changed files with 12 additions and 0 deletions
|
@ -114,6 +114,12 @@ def main(args=None, input=None, output=None):
|
|||
)
|
||||
|
||||
output_group = parser.add_argument_group("Output Settings")
|
||||
output_group.add_argument(
|
||||
"--dark-mode",
|
||||
action="store_true",
|
||||
help="Use colors suitable for a dark terminal background (default: False)",
|
||||
default=False,
|
||||
)
|
||||
output_group.add_argument(
|
||||
"--pretty",
|
||||
action="store_true",
|
||||
|
@ -251,6 +257,12 @@ def main(args=None, input=None, output=None):
|
|||
)
|
||||
args = parser.parse_args(args)
|
||||
|
||||
if args.dark_mode:
|
||||
args.user_input_color = "#32FF32"
|
||||
args.tool_output_color = "#ffffff"
|
||||
args.assistant_output_color = "#00FFFF"
|
||||
args.code_theme = "monokai"
|
||||
|
||||
io = InputOutput(
|
||||
args.pretty,
|
||||
args.yes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue