hoelzro / lua-repl

A Lua REPL implemented in Lua for embedding in other programs
MIT License
172 stars 16 forks source link

Support multi line pastes with linenoise #50

Open devurandom opened 9 years ago

devurandom commented 9 years ago

It appears that multi-line pastes are not supported with linenoise. Whenever I past several lines, only the first one shows up in lua-repl.

With the readline backend (i.e. linenoise.so not installed in ~/.luarocks/lib/lua/5.1), I can paste multiple lines.

hoelzro commented 9 years ago

@devurandom Thanks for the input; apparently upstream linenoise now has a multi line mode. I'll see about incorporating this into lua-repl.