From 2ee871862a499a0d00677ffd57fc410d386f20d3 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Mon, 20 Jul 2020 11:50:27 -0400 Subject: [PATCH] Fix bug where certain keys (pgup/pgdown/home/end/etc) weren't being sent --- key.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/key.go b/key.go index c16dcb4..2b88919 100644 --- a/key.go +++ b/key.go @@ -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