Skip to content

add ability for parse bracketed paste event

Haraguroicha Hsu requested to merge haraguroicha/termion:master into master

This adds the ability to parse events of pasted text that will print the escaping code from 4.0.0 to 4.0.2, which occurred by following blocks

https://gitlab.redox-os.org/redox-os/termion/-/blob/4.0.0/src/event.rs#L387-390

https://gitlab.redox-os.org/redox-os/termion/-/blob/4.0.1/src/event.rs#L352-355

https://gitlab.redox-os.org/redox-os/termion/-/blob/4.0.2/src/event.rs#L352-355

There might be no need to println the event key code as stdout here, and when parse_csi parses a pasted text will print the following sequentially:

\x1b[200~CLIPBOARD CONTENT\x1b[201~

Merge request reports