readline icon indicating copy to clipboard operation
readline copied to clipboard

multi-line entries in history cause erroneous behavior

Open knz opened this issue 9 years ago • 1 comments

Found with the following:

  1. enter a multi-line entry in the history (e.g. AddHistory("foo\nbar"))
  2. recall the multi-line entry. The cursor is positioned (correctly) at the end of the last line.
  3. try to navigate backwards with left-arrow: the display is messed up.

knz avatar Sep 28 '16 22:09 knz

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.

knz avatar Apr 29 '17 12:04 knz