aws / aws/amazon-q-developer-cli
Experiment selection moves up on the screen
- Lingua principale
- Rust
- Stelle
- 2k
- Fork
- 439
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again
### Operating system
macOS 15.6.1 (24G90)
### Expected behaviour
When I use /experiment I expect to see a list with available experiments at the location of the current prompt. When I press the up and down arrows all items stay on the same line but the marked item (shown by a ❯ and a different colour) changes.
### Actual behaviour
When I press an arrow key the list with options moves up one line in the terminal window leaving blank lines behind until first experiment is on the first line of the screen.
Also tried this in a bash session and it doesn't happen in that case, same with a `zsh --no-rcs` session. So this might be related to Oh my Zsh/Powerleven10k
Using the same selection mechanism in `/model` doesn't show the same behaviour. Is this related to https://github.com/aws/amazon-q-developer-cli/pull/2726 ?
### Steps to reproduce
Start `q chat`
Enter `/experiment`
Use your up and down keys
### Environment
```yaml
[q-details]
version = "1.15.0"
hash = "a8a0426eaff32ac9b1599ca1b1f1881ffd16054d"
date = "2025-09-02T17:15:25.464923Z (14h ago)"
[system-info]
os = "macOS 15.6.1 (24G90)"
chip = "Apple M2 Max"
total-cores = 12
memory = "64.00 GB"
[environment]
cwd = "/Users/USER/k8s-infrastructure"
cli-path = "/Users/USER/k8s-infrastructure"
install-method = "brew"
[env-vars]
PATH = "/Users/USER/.local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Applications/VMware Fusion.app/Contents/Public:/Applications/iTerm.app/Contents/Resources/utilities:/Users/USER/.krew/bin:/Applications/PhpStorm.app/Contents/MacOS:~.local/bin"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2"
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il problema con q chat su macOS, quindi confronta la selezione di /experiment con /model nelle sessioni zsh, bash e zsh --no-rcs riportate. Analizza il comportamento della selezione nel terminale e la differenza relativa a Oh My Zsh o Powerlevel10k; il lavoro è completato quando la navigazione con i tasti freccia mantiene le opzioni su una sola riga senza lasciare righe vuote.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100