Skip to content

but skill install automatically selecting the first option, preventing user selection #12670

@ipsquiggle

Description

@ipsquiggle

Version

0.19.5

Operating System

Windows

Distribution Method

msi (Windows)

Describe the issue

When running but skill install through either pwershell or cmd on windows, it automatically selects the first option in the menus, preventing user selection.

For example, if I run it, "Local" got automatically selected, forcing me to select the format.

Image

If I run but skill install --global then the format is automatically selected, preventing me from having the choice.

Image

Note: in the process of capturing screenshots for this bug, I pressed "enter" to close the screenshot window, and the but command in the background selected an option upon it gaining focus.

This leads me to believe your menu system is not handling the correct key events, for example, using a "key up" instead of "key down" or similar.

How to reproduce (Optional)

  1. enter but skill install at the console (pwsh or cmd)
  2. observe that a question pops up but the first option is already selected.

Expected behavior (Optional)

No response

Relevant log output (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedWe would love you to get involved.os:windowsThe Windows platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions