aleios-cloud / aleios-cloud/sls-dev-tools

Pressing incorrect keys when selecting the AWS region breaks all input

Open
#685 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
871
Forks
45
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
If a naive user (🙂) assumes they can use vim keys (or anything other than arrow keys & enter) to navigate the AWS region list, it breaks all input until the tool is restarted.

**To Reproduce**
Steps to reproduce the behavior:
1. start the tool
2. press anything other than arrow keys or enter at the "select AWS region" prompt
3. try to use arrow keys to navigate the list

**Expected behavior**
The list should be navigable with the arrow keys even if they user pressed the wrong keys initially

**Screenshots**
N/A

**If relevant**
- OS: Mac OS
- Browser N/A
- Version 1.1.15
- Deployment Framework N/A
- IAM Policy JSON N/A

**Additional context**
Alternative solution is to support navigation with hjkl!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.