vercel / hyper

A terminal built on web technologies
https://hyper.is
MIT License
43.28k stars 3.52k forks source link

Bracketed-paste mode #2007

Open ELLIOTTCABLE opened 7 years ago

ELLIOTTCABLE commented 7 years ago

Hi! This is a feature-reqest to support bracketed-paste mode in Hyper.

The basics:

This is supported by xterm, urxvt, gnome-terminal, iTerm 2, Terminal.app, so on and so forth.

Hazer commented 7 years ago

As an extra reference, right now Hyper is vulnerable to the attack on this proof of concept: http://thejh.net/misc/website-terminal-copy-paste

The same code with iTerm 2, zsh and oh-my-zsh does not suffer from this vulnerability on my setup.

Xunnamius commented 6 years ago

Also, lacking this feature (and, perhaps, proper mouse support in Hyper?) may be the cause of problems in modern terminal packages like micro, i.e. https://github.com/zyedidia/micro/issues/733 (as of 2.0.0-11)