Describe the bug
When scrolling through a list of items, such as a list of workflows as generated by the command: gh workflow run, the command is duplicated many times in the terminal.
This is especially evident when scrolling back over from the top/end of the list of options.
Please check the following GIF for a visual:
Affected version
gh version 2.93.0 (2026-05-27)
https://github.com/cli/cli/releases/tag/v2.93.0
Steps to reproduce the behavior
- Run
gh workflow run
- Scroll down to the end of the (workflow) options and back over to the top, using the arrow keys.
- Type
CTRL+C to exit command
- Scroll up and view the many duplicated commands
Expected vs actual behavior
No duplicated commands.
Terminal
The terminal used is Bash.
Describe the bug
When scrolling through a list of items, such as a list of workflows as generated by the command:
gh workflow run, the command is duplicated many times in the terminal.This is especially evident when scrolling back over from the top/end of the list of options.
Please check the following GIF for a visual:
Affected version
gh version 2.93.0 (2026-05-27)
https://github.com/cli/cli/releases/tag/v2.93.0
Steps to reproduce the behavior
gh workflow runCTRL+Cto exit commandExpected vs actual behavior
No duplicated commands.
Terminal
The terminal used is Bash.