diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-23 11:35:15 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-23 11:45:25 +0200 |
commit | c2887621a37f429e2e05b561631fff01da8bd462 (patch) | |
tree | 35ece0d6ab9593bc80d8d307a4c021cc307207b5 /sample.teco_ini | |
parent | fbaa927a49694f771d770383bde3e1137fe172d4 (diff) | |
download | sciteco-c2887621a37f429e2e05b561631fff01da8bd462.tar.gz |
allow OSC-52 clipboards on all terminal emulators
* The XTerm version is still checked if we detect running under XTerm.
* Actually, the XTerm implementation is broken for Unicode clipboard contents.
* Kitty supports OSC-52, but you __must__ enable read-clipboard.
With read-clipboard-ask, there will be a timeout.
But we cannot read without a timeout since otherwise we would hang indefinitely
if the escape sequence turns out to not work.
* For urxvt, I have hacked an existing extension:
https://gist.github.com/rhaberkorn/d7406420b69841ebbcab97548e38b37d
* st currently supports only setting the clipboard, but not querying it.
Diffstat (limited to 'sample.teco_ini')
-rw-r--r-- | sample.teco_ini | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample.teco_ini b/sample.teco_ini index 869bfb9..2935d95 100644 --- a/sample.teco_ini +++ b/sample.teco_ini @@ -56,7 +56,7 @@ EMQ[$SCITECOPATH]/session.tes ! Enable default function key macros ! EMQ[$SCITECOPATH]/fnkeys.tes -! Uncomment if XTerm allows clipboard operations ! +! Uncomment if terminal supports OSC-52 clipboards ! ! 0,256ED ! ! Uncomment to enable Unicode icons in the Curses UI ! |