mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-18 23:01:50 -09:00
lua: support linenoise
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
d87847203f
commit
635bebf559
@@ -7,6 +7,15 @@ config BR2_PACKAGE_LUA
|
||||
|
||||
if BR2_PACKAGE_LUA
|
||||
|
||||
choice
|
||||
prompt "Lua Interpreter command-line editing"
|
||||
default BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
|
||||
|
||||
config BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
|
||||
bool "none"
|
||||
help
|
||||
None.
|
||||
|
||||
config BR2_PACKAGE_LUA_INTERPRETER_READLINE
|
||||
bool "readline support"
|
||||
select BR2_PACKAGE_READLINE
|
||||
@@ -14,4 +23,12 @@ config BR2_PACKAGE_LUA_INTERPRETER_READLINE
|
||||
help
|
||||
Enables command-line editing in the lua interpreter.
|
||||
|
||||
config BR2_PACKAGE_LUA_INTERPRETER_LINENOISE
|
||||
bool "linenoise support"
|
||||
select BR2_PACKAGE_LINENOISE
|
||||
help
|
||||
Enables command-line editing in the lua interpreter.
|
||||
|
||||
endchoice
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user