Added support for bracketed pasting.