I'm not sure how to implement a Pure Lua filebrowser... is there any code out there for a pure lua file browser and if not how can I implement it?
Asked
Active
Viewed 1,148 times
1 Answers
6
Pure Lua has no module for filesystem access. You may do one of two things:
- Use some of modules available: http://lua-users.org/wiki/FileSystemOperations
- Use os.exec() to do ls-ing and then cd-ing.
For UI you can use one of multiple bindings, like the one for Qt (GUI) or for ncurses (TUI).

Caladan
- 1,471
- 11
- 13