1
0
mirror of https://github.com/rivo/tview.git synced 2025-04-24 13:48:56 +08:00

TreeView.process() fires the changed callback and therefore needs to remain in input handler. Fixes #579

This commit is contained in:
Oliver 2021-04-26 16:43:34 +02:00
parent 9f215ef4fd
commit 3ac88670dd

View File

@ -774,6 +774,8 @@ func (t *TreeView) InputHandler() func(event *tcell.EventKey, setFocus func(p Pr
case tcell.KeyEnter:
selectNode()
}
t.process()
})
}