Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Arrows to go to recent goose prompt #1212

Open
lily-de opened this issue Feb 13, 2025 · 1 comment
Open

Feature request: Arrows to go to recent goose prompt #1212

lily-de opened this issue Feb 13, 2025 · 1 comment
Labels
cli enhancement New feature or request ui

Comments

@lily-de
Copy link
Collaborator

lily-de commented Feb 13, 2025

Enable up/down cursor to cycle through prompt history in the text box, would make it easier to retry inputs if the model or provider fails for some reason and not have to copy/paste/re-type

@kang-square
Copy link

IMO, just enabling up/down cursor is not an ideal solution for the Electron UI. As the input in the electron UI is essentially a textarea, where you can navigate your curosr through multiple lines using arrow keys. This is different from the terminal.
Here are some options we can consider:

  1. Use Ctrl/Cmd + ↑/↓ or Alt + ↑/↓
  2. ↑ only triggers history when cursor is at start, ↓ only triggers history when cursor is at end.

personally I prefere the first one, and we can add explanatory text after What can goose help with?.
And I am happy to take over this issue and contribute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli enhancement New feature or request ui
Projects
Status: No status
Development

No branches or pull requests

2 participants