@joule-sh/code-win32-x64 0.23.0 → 0.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -149,11 +149,24 @@ status line saying how many lines are held. The wheel keeps scrolling while a
149
149
  drag is in progress: the selection stays on the text it was drawn over rather
150
150
  than on the screen rows.
151
151
 
152
- Releasing copies, over OSC 52 (`ESC ] 52 ; c ; <base64> BEL`), which is the
153
- mechanism that survives ssh. Not every terminal accepts it, and one that
154
- refuses sends no reply, so there is nothing to detect and nothing to retry.
155
- Joule says what it wrote and names the way out rather than reporting a copy it
156
- cannot confirm: `copied 3 lines - Esc clears - /mouse off if nothing pasted`.
152
+ Releasing copies. Joule is a local process, so it writes the clipboard itself
153
+ rather than asking your terminal to: `pbcopy` on macOS, `wl-copy` on Wayland,
154
+ `xclip` or `xsel` on X11, `clip.exe` on Windows. That works on every terminal,
155
+ including the ones that refuse OSC 52 clipboard writes by default and the ones
156
+ that never implemented it. The status line then reports a copy that really
157
+ happened: `copied 3 lines - Esc clears`.
158
+
159
+ Over ssh the local clipboard is the wrong one - the one you paste into is at
160
+ your end of the connection - so a remote session falls back to OSC 52
161
+ (`ESC ] 52 ; c ; <base64> BEL`), which travels back over the terminal. So does
162
+ a machine with no clipboard command installed. A terminal that refuses OSC 52
163
+ sends no reply, so there is nothing to detect and nothing to retry, and the
164
+ status line says only what it can stand behind: `asked the terminal for 3
165
+ lines - /mouse off if nothing pasted`. If the clipboard command is there and
166
+ fails, nothing is claimed at all: `no clipboard here - Esc clears - /mouse off
167
+ to select with the terminal`. `/mouse` on its own names which of the three
168
+ this machine will use.
169
+
157
170
  Escape clears the selection, typing puts the status line back, and the next
158
171
  click starts a new one.
159
172
 
@@ -162,8 +175,8 @@ Sign-in codes are never selectable: the row map covers transcript rows only,
162
175
  and no selection can start, extend or copy while the input line is capturing.
163
176
 
164
177
  `/mouse off` hands selection back to your terminal's own, for anyone who
165
- prefers it or whose terminal blocks OSC 52; the button events are then ignored
166
- outright. It writes `"mouse": "off"` into `~/.config/joule-code/config.json`,
178
+ prefers it or whose machine can reach no clipboard at all; the button events
179
+ are then ignored outright. It writes `"mouse": "off"` into `~/.config/joule-code/config.json`,
167
180
  `/mouse on` puts it back, and `JOULE_CODE_MOUSE` overrides the file for a
168
181
  single run.
169
182
 
Binary file
package/bin/joule.exe CHANGED
Binary file
package/bin/relay.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joule-sh/code-win32-x64",
3
- "version": "0.23.0",
3
+ "version": "0.23.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",