Daniel Colascione 668f6fa257 More robustly strip bracketed paste termination sequence
The previous code performed only one replacement on the bracketed
paste content. This procedure didn't stop someone embedding the
terminating sequence anyway. POC:

1) $ x=$'\033[201~'; printf '%s%s%s\necho hello world\n' "${x:0:1}" "$x" "${x:1}" | xclip
2) paste into kitty
3) see the shell execute a command!

This patch closes this hole.
2018-06-08 04:53:02 -07:00
2018-06-08 14:27:30 +05:30
2018-05-31 23:02:38 +05:30
2018-02-12 10:19:29 +05:30
2018-05-30 15:14:07 +05:30
2018-05-09 11:32:22 +05:30
2018-06-08 12:03:51 +05:30
2017-11-01 15:00:52 +05:30
2018-05-30 12:46:00 +05:30
...
2018-06-02 11:29:07 +05:30
2018-06-01 10:31:52 +05:30
2018-06-08 12:03:51 +05:30
2018-06-08 12:03:51 +05:30
2017-12-01 12:15:36 +05:30
...
2017-12-12 22:23:16 +05:30

= kitty - the fast, featureful, GPU based, terminal emulator

See https://sw.kovidgoyal.net/kitty

image::https://travis-ci.org/kovidgoyal/kitty.svg?branch=master[Build status, link=https://travis-ci.org/kovidgoyal/kitty]
Description
No description provided
Readme GPL-3.0 155 MiB
Languages
Python 38.5%
C 28%
Go 26.4%
Objective-C 5.5%
Shell 1%
Other 0.5%