aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPhilipp Stephani2015-05-25 17:03:50 -0400
committerStefan Monnier2015-05-25 17:03:50 -0400
commit816a2b369d0490e67fd5a57c9f18bb2c533e80e4 (patch)
tree72c6dfa080468e1edcbf8b169577ee8136764a30 /etc
parent49c8458d7b7194a7b6f347bf4a730391df74df2b (diff)
downloademacs-816a2b369d0490e67fd5a57c9f18bb2c533e80e4.tar.gz
emacs-816a2b369d0490e67fd5a57c9f18bb2c533e80e4.zip
* lisp/term/xterm.el: Add gui-get-selection support via OSC-52
(xterm--extra-capabilities-type): Add `getSelection'. (xterm--query): Add `no-async' argument. (xterm--init-activate-get-selection): New function. (terminal-init-xterm): Use it. (xterm--init-modify-other-keys): Rename from terminal-init-xterm-modify-other-keys. (xterm--init-bracketed-paste-mode): Rename from terminal-init-xterm-bracketed-paste-mode. (xterm--init-activate-set-selection): Rename from terminal-init-xterm-activate-set-selection. (xterm--selection-char): New function. (gui-backend-set-selection): Use it. Use the &context to only apply this method in terminals where we enabled the feature. (gui-backend-get-selection): New method.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 9f861b29393..1cccc317ab5 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -271,6 +271,10 @@ in the surrounding GUI (using the OSC-52 escape sequence). This only works
271if your xterm supports it and enables the `allowWindowOps' options (disabled 271if your xterm supports it and enables the `allowWindowOps' options (disabled
272by default at least in Debian, for security reasons). 272by default at least in Debian, for security reasons).
273 273
274Similarly, you can yank the CLIPBOARD/PRIMARY selection (using the OSC-52
275escape sequence) if your xterm has the feature enabled but for that you
276additionally need to add `getSelection' to `xterm-extra-capabilities'.
277
274** xterm-mouse-mode now supports mouse-tracking (if your xterm supports it). 278** xterm-mouse-mode now supports mouse-tracking (if your xterm supports it).
275 279
276** package.el 280** package.el