pureline icon indicating copy to clipboard operation
pureline copied to clipboard

Multiline commands are visually broken

Open LiteracyFanatic opened this issue 6 years ago • 2 comments

If $PL_ERASE_LINE=true as it does by default, multiline commands break when recalled from history. As soon as you add or remove a character from the first line of the command, the entire line will disappear from view.

LiteracyFanatic avatar Oct 09 '19 12:10 LiteracyFanatic

Commit https://github.com/chris-marsh/pureline/commit/a75d929444c9738dd4deb7f6d7ef68f251c78beb changed PL_ERASE_TO_EOL default to false.

IIRC, it seems to depend on the terminal emulator as to which option works best.

chris-marsh avatar Feb 15 '21 19:02 chris-marsh

It wouldn't surprise me if that were the case. I've only tested with xfce4-terminal. If there isn't a default that behaves well everywhere then perhaps a small note in the README letting people know to toggle it if they have trouble would be a good idea.

LiteracyFanatic avatar Feb 15 '21 22:02 LiteracyFanatic