Skip to content

Scrolling Through List of Options Causes Duplication Within Terminal #13553

@ahmed33033

Description

@ahmed33033

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:

Image

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

  1. Run gh workflow run
  2. Scroll down to the end of the (workflow) options and back over to the top, using the arrow keys.
  3. Type CTRL+C to exit command
  4. Scroll up and view the many duplicated commands

Expected vs actual behavior

No duplicated commands.

Terminal

The terminal used is Bash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions