Terminal gets confused when editing history with line breaks involved
Submitted by Clemens Eisserer
Assigned to Nick Schermer
Description
I often use the history-feature of Terminal (or bash), where I can navigate to previous commands using the arrow keys. Often this is quite helpful when the previous command was somehow wrong, and you just wand to correct this small error, instead of re-writing the whole command again.
However when line-breaks are involved, I quite often experience that Terminal gets confused. Once I've edited a command in the history-buffer and press the enter-key, the command executed does not equal the command I was shown on screen while editing it.
I'll try to find illustrative examples and ways to reproduce this issue.