Commit 2e266e1
committed
Update useInput() to include
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.name in key
1 parent 73795c4 commit 2e266e1
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
0 commit comments