ocaml-community / lambda-term

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

run_modal should not load the resource file itself #92

Open Chimrod opened 4 years ago

Chimrod commented 4 years ago

run_modal as an optional argument which allow to load the resource file. This is blocking if the application need to manage the resources by itself.

The argument should be an existing resource type and let the kind of source (file, string, hard-coded configuration) to the caller.

Some usage :