ocaml-community / lambda-term

Terminal manipulation library for OCaml
Other
209 stars 43 forks source link

Fix mouse handling in modal scenario. #101

Closed avysk closed 3 years ago

avysk commented 3 years ago

The previous code was using toplevel code to determine the widget to pass the focus to. In the case of modal layers this is incorrect; instead of toplevel we need to use the current layer to find the widget to become focused.

Together with #100 this should close #98

pmetzger commented 3 years ago

@kandu Can you review this? It seems pretty small. If not, I will just merge it.

avysk commented 3 years ago

Any hope for this one?

pmetzger commented 3 years ago

Merged.