diff options
| author | Philipp Stephani | 2015-05-25 17:03:50 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2015-05-25 17:03:50 -0400 |
| commit | 816a2b369d0490e67fd5a57c9f18bb2c533e80e4 (patch) | |
| tree | 72c6dfa080468e1edcbf8b169577ee8136764a30 /etc | |
| parent | 49c8458d7b7194a7b6f347bf4a730391df74df2b (diff) | |
| download | emacs-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -271,6 +271,10 @@ in the surrounding GUI (using the OSC-52 escape sequence). This only works | |||
| 271 | if your xterm supports it and enables the `allowWindowOps' options (disabled | 271 | if your xterm supports it and enables the `allowWindowOps' options (disabled |
| 272 | by default at least in Debian, for security reasons). | 272 | by default at least in Debian, for security reasons). |
| 273 | 273 | ||
| 274 | Similarly, you can yank the CLIPBOARD/PRIMARY selection (using the OSC-52 | ||
| 275 | escape sequence) if your xterm has the feature enabled but for that you | ||
| 276 | additionally 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 |