console: configure local EOS symbol in Lua console
There used to be ';' as a default local End Of Stream in Lua, which could be confusing for a human. Now the default local EOS is '' and it can be configured per session with `\set output lua,local_eos=`. Works on both local and remote consoles. Closes #7031 @TarantoolBot document Title: configure local End Of Stream symbol in Lua console The old behavior was: ``` tarantool> \set output lua true; tarantool> 123 123; ``` Now default EOS is '', you can set it like this: ``` tarantool> \set output lua true tarantool> 123 123 tarantool> \set output lua,local_eos=# true# tarantool> 123 123# tarantool> \set output lua,local_eos= true tarantool> 123 123 ``` If you don't provide a symbol, it would be configured to ''.
Showing
- changelogs/unreleased/gh-7031-configure-eos-in-lua-console.md 4 additions, 0 deletions...gelogs/unreleased/gh-7031-configure-eos-in-lua-console.md
- src/box/lua/console.lua 47 additions, 9 deletionssrc/box/lua/console.lua
- test/app-luatest/gh_7031_configure_eos_in_lua_console_test.lua 66 additions, 0 deletions...app-luatest/gh_7031_configure_eos_in_lua_console_test.lua
Loading
Please register or sign in to comment