peterh / liner

Pure Go line editor with history, inspired by linenoise
MIT License
1.04k stars 132 forks source link

Liner becomes confused when recalling multi-line items from history #68

Closed knz closed 8 years ago

knz commented 8 years ago

Steps to reproduce:

At this point navigation of the multi-line item is messed up.

Moreover, if the prompt is already at the bottom of the terminal, the terminal gets messed up as well (cursor blocked at bottom while the lines above it get updated).

peterh commented 8 years ago

Multi-line is messed up how? I can't seem to reproduce either "messed up" or "cursor blocked" on Windows 10 / Comand Prompt or Deiban Stable / xfce4-terminal.

CC: @flisky since Flisky wrote Multi-Line mode.

flisky commented 8 years ago

Sorry, I'm in the Chinese Spring Festival holiday.

@knz, could you please reproduce this using something like asciinema?

BTW, the linenoise doesn't seem to work perfectly with CJK characters, just FYI.

peterh commented 8 years ago

Not reproducible and no response from @knz. Assuming original report is mistaken.