Sometimes input spans multiple lines, ex: function declarations. There is a delimiter thing but it is less then convenient. Tarantool implemented delimiter-less parsing.
In try.tarantool.org a different method is used. Shift+Enter starts a new line without submitting the input. However the information about this feature is nowhere to be seen. The only way one can find about it is invoking console.delimiter(): in try the function prints a tip about Shift+Enter and does nothing besides that.
This is not reliable anymore, since normally console.delimiter() is unnecessary and no one is going to know about it.
Sometimes input spans multiple lines, ex: function declarations. There is a delimiter thing but it is less then convenient. Tarantool implemented delimiter-less parsing.
In
try.tarantool.org
a different method is used.Shift+Enter
starts a new line without submitting the input. However the information about this feature is nowhere to be seen. The only way one can find about it is invokingconsole.delimiter()
: intry
the function prints a tip aboutShift+Enter
and does nothing besides that.This is not reliable anymore, since normally
console.delimiter()
is unnecessary and no one is going to know about it.