Terminal Guide

Bracketed Paste Mode

?2004
urxvt
xterm
vte
konsole

Bracket clipboard paste contents in delimiter sequences.

When pasting from the (e.g. system) clipboard add ESC1b [5b 232 030 030 ~7e  before the clipboard contents and ESC1b [5b 232 030 131 ~7e  after the clipboard contents. This allows applications to distinguish clipboard contents from manually typed text.

vte ( ✔ )

Always filters control character from pasted text.

konsole ( ✔ )

In this mode konsole additionally removes any ESC1b  from the pasted text.