mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
feat: add --fancy-input flag to control input history and completion
This commit is contained in:
parent
97a9c65125
commit
43fbda0faf
2 changed files with 7 additions and 0 deletions
|
@ -688,6 +688,12 @@ def get_parser(default_config_files, git_root):
|
||||||
default=True,
|
default=True,
|
||||||
help="Enable/disable suggesting shell commands (default: True)",
|
help="Enable/disable suggesting shell commands (default: True)",
|
||||||
)
|
)
|
||||||
|
group.add_argument(
|
||||||
|
"--fancy-input",
|
||||||
|
action=argparse.BooleanOptionalAction,
|
||||||
|
default=True,
|
||||||
|
help="Enable/disable fancy input with history and completion (default: True)",
|
||||||
|
)
|
||||||
|
|
||||||
##########
|
##########
|
||||||
group = parser.add_argument_group("Voice Settings")
|
group = parser.add_argument_group("Voice Settings")
|
||||||
|
|
|
@ -472,6 +472,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
encoding=args.encoding,
|
encoding=args.encoding,
|
||||||
llm_history_file=args.llm_history_file,
|
llm_history_file=args.llm_history_file,
|
||||||
editingmode=editing_mode,
|
editingmode=editing_mode,
|
||||||
|
fancy_input=args.fancy_input,
|
||||||
)
|
)
|
||||||
|
|
||||||
io = get_io(args.pretty)
|
io = get_io(args.pretty)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue