multi-line entries in history cause erroneous behavior
knz opened this issue · 1 comments
knz commented
Found with the following:
- enter a multi-line entry in the history (e.g.
AddHistory("foo\nbar")
) - recall the multi-line entry. The cursor is positioned (correctly) at the end of the last line.
- try to navigate backwards with left-arrow: the display is messed up.
knz commented
Note: you need to use xterm
, st
or some more strict vt100 terminal emulator to see this problem occurring. With OSX terminal, iTerm or tmux
/screen
the issue disappears.