Some work
This commit is contained in:
@@ -71,9 +71,7 @@ func (w *JsonContent) Init(id string, style tcell.Style) {
|
||||
w.keyMap = wd.NewKeyMap(
|
||||
wd.NewKey(wd.BuildEK(tcell.KeyUp), func(_ *tcell.EventKey) bool { return w.MoveUp() }),
|
||||
wd.NewKey(wd.BuildEK(tcell.KeyDown), func(_ *tcell.EventKey) bool { return w.MoveDown() }),
|
||||
wd.NewKey(wd.BuildEK(tcell.KeyEnter), func(ev *tcell.EventKey) bool {
|
||||
return false
|
||||
}),
|
||||
wd.NewKey(wd.BuildEK(tcell.KeyEnter), func(ev *tcell.EventKey) bool { return false }),
|
||||
wd.NewKey(wd.BuildEK(tcell.KeyPgDn), func(_ *tcell.EventKey) bool { return w.PageDn() }),
|
||||
wd.NewKey(wd.BuildEK(tcell.KeyPgUp), func(_ *tcell.EventKey) bool { return w.PageUp() }),
|
||||
wd.NewKey(wd.BuildEKr('j'), func(ev *tcell.EventKey) bool {
|
||||
|
||||
Reference in New Issue
Block a user