gitbutlerapp/gitbutler

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

Open

#12.670 aberto em 3 de mar. de 2026

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Rust (862 forks)batch import
bughelp wantedos:windows

Métricas do repositório

Stars
 (19.787 stars)
Métricas de merge de PR
 (Mesclagem média 14h 43m) (446 fundiu PRs em 30d)

Description

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)

Guia do colaborador