From 54f5c578573ee15fa33c6726e9a3d1970d56d6fb Mon Sep 17 00:00:00 2001 From: Aleteoryx Date: Sun, 21 Sep 2025 20:21:03 -0400 Subject: [PATCH] fix a netcode deadlock, add a "copy sixel" menu --- ntalk.tcl | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/ntalk.tcl b/ntalk.tcl index 9ed4473fe22c059b339758d1efe00ac07cf5b9ef..f278227481de56d11cd74f1da0e9bf5ba6e6fc5e 100755 --- a/ntalk.tcl +++ b/ntalk.tcl @@ -397,6 +397,11 @@ proc finishsixel {} { menu .savesixel -tearoff 0 +.savesixel add command -label "copy sixel" -command { + clipboard clear + clipboard append "\\([dict get $images "image:$clickedimage"])" + set clickedsixel {} +} .savesixel add command -label "save sixel..." -command { bind .