Start implementing shortcut handling

This commit is contained in:
Kovid Goyal
2023-03-20 22:17:36 +05:30
parent 924cd4cadd
commit 425ab4f6d8
3 changed files with 68 additions and 0 deletions

View File

@@ -150,6 +150,7 @@ func main(_ *cli.Command, opts_ *Options, args []string) (rc int, err error) {
return ""
}
lp.OnResize = h.on_resize
lp.OnKeyEvent = h.on_key_event
err = lp.Run()
if err != nil {
return 1, err