Skip to content

Lua Plugin Implementation #2616

Description

@SirZenith

As mentioned in #2609, I am implementing a Lua plugin system in lf, code can be checked here. In LUA_DEV.md I wrote about how the plugin system is implemented.

Now I think it's time to finally make a pull request. Just before that, I want to known if anybody has any opinion or advice on the code I've written.

I think I will be dealing with following problems next:

  • app object is now a global variable in Lua runtime used to access ui and nav, but it's exposed with no concurrency protection. Some inspection is needed on this, but I haven't thought about it yet, any advice is welcome.
  • Splitting UI element drawing functions in to smaller parts that can be overridden in Lua script, so that user can customize program appearance even more.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions