mirror of
https://github.com/golang/term.git
synced 2026-01-29 15:12:09 +03:00
d037c2cd545d7d66f7718b15566107e046267a62
Some terminals support a mode where pasted text is bracketed by escape sequences. This is very useful for terminal applications that otherwise have no good way to tell pastes and typed text apart. This change allows applications to enable this mode and, if the terminal supports it, will suppress autocompletes during pastes and indicate to the caller that a line came entirely from pasted text. LGTM=bradfitz R=bradfitz CC=golang-codereviews https://golang.org/cl/171330043
Description
Languages
Go
100%