Skip to content
Snippets Groups Projects
Commit ef283c6c authored by Gleb Kashkin's avatar Gleb Kashkin Committed by Igor Munkin
Browse files

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 ''.
parent 0ff3974a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment