Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update useInput() to include
name
in key
Some key values (e.g. 'insert', 'home', 'end') were basically lost. In these cases, the `input` value would be an empty string and the generated `key` data would contain no additional information about the value. To resolve this, directly include `keypress.name` in the generated `key` data so this information is not lost.
- Loading branch information