Error interactive_options.rb:337:in `wait_for_user_input': Interrupt (Interrupt)

Open
#398 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
cli

Research direction

Start at interactive_options.rb:337 in wait_for_user_input and reproduce the crash with Home, End, Page Up, and Page Down. Determine the intended handling for these keys and verify that the listed inputs no longer interrupt the interactive options flow.

Written by the indexing model from the issue text.

Description

When you hit home/end or page-up/page-down cli-ui crashes with this error: interactive_options.rb:337:in `wait_for_user_input': Interrupt (Interrupt). There are more keys that trigger a crash. Shouldn't at least the home/end page-up/page-down navigate options correctly? What is the intended way to handle the keys which cause a crash?

Dominant language
Ruby
Stars
1.1k
Forks
57
Avg merge
2h 55m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Shopify/cli-ui

All issues in Shopify/cli-ui

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.