Paste the following at the prompt:
clang --autocomplete='--std=' |
string replace -r -- '^([^ ]+)\s*(.*)' '$1\t\$2'
Observe that the text on the first row does not match what was pasted. Try navigating back and forth/up and down with the arrow keys on the different lines. Press ^C and observe that the prompt isn't cleared.
fish loses it.
https://asciinema.org/a/TsAwarGwkZTpVQL3aQ72Dkvkr
Paste the following at the prompt:
Observe that the text on the first row does not match what was pasted. Try navigating back and forth/up and down with the arrow keys on the different lines. Press ^C and observe that the prompt isn't cleared.
fish loses it.
https://asciinema.org/a/TsAwarGwkZTpVQL3aQ72Dkvkr