Skip to content
Snippets Groups Projects
  • Gleb Kashkin's avatar
    d2271ec0
    console: fix multiline commands saved as oneline · d2271ec0
    Gleb Kashkin authored
    When multiline commands were loaded from .tarantool_history, they were
    treated as a bunch of oneline commands. Now readline is configured to
    write timestamps in .tarantool_history as delimiters and multiline
    commands are handled correctly.
    
    If there is already a .tarantool_history file, readline will set
    timestamps automatically, nothing will be lost.
    
    Closes #7320
    NO_DOC=bugfix
    NO_TEST=impossible to check readline history from lua
    d2271ec0
    History
    console: fix multiline commands saved as oneline
    Gleb Kashkin authored
    When multiline commands were loaded from .tarantool_history, they were
    treated as a bunch of oneline commands. Now readline is configured to
    write timestamps in .tarantool_history as delimiters and multiline
    commands are handled correctly.
    
    If there is already a .tarantool_history file, readline will set
    timestamps automatically, nothing will be lost.
    
    Closes #7320
    NO_DOC=bugfix
    NO_TEST=impossible to check readline history from lua