···55555656let start_ui () =
5757 (*initialse the state*)
5858- let term = Notty_unix.Term.create () in
5858+ let term = Notty_unix.Term.create ~mouse:false () in
5959 Vars.term := Some term;
6060 ui_loop ~quit:Vars.quit ~term (Jj_ui.mainUi ());
6161 Flock.terminate ()
+12
todo.md
···66- Inside my own program.
77 - I could make all components take an `keyList` record and let the caller override that.
88 - This option is more versitile because it allows one list to use say, arrows, and the other to use something like hjkl
99+910## Handling unusual key combos:
1011- Aparrently general ansi terminals don't properly distinguish many key combos. But kitty and newer protocols do.
1112- Maybe I could use this protocol within notty.
1313+1414+1515+## Multithreaded/async support in picos.
1616+Currently if you set the timeout of nottui to 0 it will wait forever for input before it updates the ui.
1717+we need a way to interrupt the ui waiting if the internal state has changed.
1818+Basically the internal nottui loop should be:
1919+Wait on input/a lwd.var change.
2020+If there is a change, re-run
2121+- This allows for way less idle usage
2222+- This allows us to support selection
2323+ - Currently we cannot select becasue the terminal is constatnly re-rendering, I could fix that now probably, but the picos change would also fix it