]> git.eshelyaron.com Git - emacs.git/commit
Fix XTerm OSC 52 selection retrieval (bug#36879)
authorMattias Engdegård <mattiase@acm.org>
Sat, 3 Aug 2019 10:08:27 +0000 (12:08 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 8 Aug 2019 08:30:09 +0000 (10:30 +0200)
commitf09dc0b81c23046c17574c2ef8d614907455f622
tree9031523c4b0a280e9eedb5e4518ad71dbd5f3066
parentd5622eb6fff94714c5d5a64c98c5e02bc1be478c
Fix XTerm OSC 52 selection retrieval (bug#36879)

When asking XTerm for the selection via OSC 52, use ST as string
terminator in the request to get ST as terminator in the reply,
because BEL is messy to receive in many ways.

* lisp/term/xterm.el (gui-backend-get-selection):
Use ST as string terminator in request and reply.
Use a time-out when reading the reply.
lisp/term/xterm.el