Always ask for confirmation when pasting text with control codes in it

This commit is contained in:
Kovid Goyal
2023-10-20 13:02:28 +05:30
parent 56963c693e
commit defa2e29ac
7 changed files with 32 additions and 19 deletions

View File

@@ -72,7 +72,7 @@ Detailed list of changes
- Two new event types for :ref:`watchers <watchers>`, :code:`on_title_change` and :code:`on_set_user_var`
- When pasting in bracketed paste mode and the cursor is at a shell prompt, strip out C0 control codes as some shells incorrectly interpret these allowing escape from bracketed paste mode. Thanks to David Leadbetter for discovering.
- When pasting, if the text contains terminal control codes ask the user for permission. See :opt:`paste_actions` for details. Thanks to David Leadbetter for discovering this.
0.30.1 [2023-10-05]