gitbutlerapp/gitbutler

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

Open

#12,670 opened on 2026年3月3日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)Rust (19,787 stars) (862 forks)batch import
bughelp wantedos:windows

説明

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.

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


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)

コントリビューターガイド

`but skill install` automatically selecting the first option, preventing user selection · gitbutlerapp/gitbutler#12670 | Good First Issue