Nottui_lwtNottui_lwt exposes an Lwt-driven mainloop.
UI execution is done in an Lwt thread and UI events can spawn and synchronize threads.
type event = [ | `Key of Notty.Unescape.key |
| `Mouse of Notty.Unescape.mouse |
| `Paste of Notty.Unescape.paste |
| `Resize of int * int |
]FIXME: Refactor to use Nottui.Ui.event?