Fix bug where certain keys (pgup/pgdown/home/end/etc) weren't being sent

This commit is contained in:
Christian Rocha 2020-07-20 11:50:27 -04:00
parent 97ae9c6974
commit 2ee871862a
No known key found for this signature in database
GPG Key ID: D6CC7A16E5878018
1 changed files with 1 additions and 1 deletions

2
key.go
View File

@ -249,7 +249,7 @@ func ReadInput(r io.Reader) (Msg, error) {
// Some of these need special handling
if k, ok := hexes[hex]; ok {
return k, nil
return KeyMsg(k), nil
}
// Get unicode value