From 7dcdc2f17e72e076a59afd3e150d209eea1d0456 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 28 Aug 2024 10:34:47 -0700 Subject: [PATCH] refactor: improve Git repository selection prompt and messaging --- aider/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/main.py b/aider/main.py index b40a897f3..92e46a782 100644 --- a/aider/main.py +++ b/aider/main.py @@ -27,11 +27,11 @@ def setup_git_home(io): git_repos = list(home.glob("*/.git")) if git_repos: - io.tool_output("Found existing Git repositories in your home directory:") + io.tool_output("Found existing Git repositories in folders in your home directory:") for i, repo in enumerate(git_repos, 1): io.tool_output(f"{i}. {repo.parent.name}") - choice = io.user_input( + choice = io.prompt_ask( "Enter the number of the repository you want to work on, or 'n' for a new project: " )