3 ms·
This is really cool, and great to see Lua project on HN, I think it's a woefully undervalued language. If someone knows LTUI 2 questions: 1. I tried to find a
by as-j 6y ago
This is really cool, and great to see Lua project on HN, I think it's a woefully undervalued language. If someone knows LTUI 2 questions:
1. I tried to find api docs, but it didn't leap out at me. Is there one?
2. i wonder how you can include LTUI with an existing event loop. (hence why I was looking for #1) app:run() is great if the UI is the standalone app, but if I'm doing async io or any other more complex lua app, I have to combined the two event loops.
If only my system was big enough to have ncurses this would be super cool and I'd use it right away. <shigh>
- waruqi 6y ago1. No docs now, you need see source codes. e.g. tests/*.lua 2. Perhaps you need call coroutine.yield or other coroutine/wait methods to program:loop() to support two event loops.