charmbracelet / huh

Build terminal forms and prompts 🤷🏻‍♀️
MIT License
3.72k stars 94 forks source link

Keypresses are ignored upon reaching 2nd form (examples/gh) #281

Open patricklatorre opened 3 weeks ago

patricklatorre commented 3 weeks ago

Describe the bug When running examples/gh, 1-2 keypresses are always ignored upon reaching the 2nd form.

This issue seems to only occur when there are multiple forms.

To Reproduce

  1. Clone the charmbracelet/huh repo
  2. cd ./examples/gh && go run create.go
  3. Choose option "charmbracelet/huh"
  4. Type in Title input field (initial keypresses are ignored)

Expected behavior Input field (2nd form) should immediately respond to keypresses.

Desktop: