Fix Bracketed Paste Mode when input contains end sequence. (#1243)
Fix Bracketed Paste Mode when input contains end sequence. (#1243)

* Fix Bracketed Paste Mode when input contains end sequence.
* Remove \x1b instead of just the paste end sequence.

alacritty/alacritty,jwilm/alacritty,jwilm/alacritty,alacritty/alacritty,jwilm/alacritty,jwilm/alacritty