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

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