We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57e8386 + caa04a3 commit 3712e7cCopy full SHA for 3712e7c
src/gitfetch/cli.py
@@ -495,14 +495,14 @@ def _prompt_provider() -> Optional[str]:
495
print(f"{indicator} {name}")
496
497
print()
498
- print("Use ↑/↓ arrows, ● = selected, Enter to confirm")
+ print("Use ↑/↓ or j/k to navigate, Enter to confirm")
499
500
# Read key
501
key = readchar.readkey()
502
503
- if key == readchar.key.UP:
+ if key == readchar.key.UP or key == 'k':
504
selected = (selected - 1) % len(providers)
505
- elif key == readchar.key.DOWN:
+ elif key == readchar.key.DOWN or key == 'j':
506
selected = (selected + 1) % len(providers)
507
elif key == readchar.key.ENTER:
508
print() # New line after selection
0 commit comments