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

Pressing incorrect keys when selecting the AWS region breaks all input

未关闭
#685 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
871
派生
45
PR 合并指标
30 天内没有已合并 PR

描述

**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!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。