From c2887621a37f429e2e05b561631fff01da8bd462 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 23 Sep 2024 11:35:15 +0200 Subject: 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. --- sample.teco_ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample.teco_ini') 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 ! -- cgit v1.2.3