hoelzro / lua-repl

A Lua REPL implemented in Lua for embedding in other programs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add color plugin

hoelzro opened this issue · comments

Something similar to pry's/bpython's/fish's coloration would be cool, for both entered code and things like stack traces.

I just tried to write such a plugin for your REPL, but neither lua-repl nor linenoise
provide access to single modification events. Seems that linenoise must either be
patched or that a completly different input library is needed.

@henry4k Thanks for pointing that out; that's definitely something that needs to be done in other for this plugin to work.