tring-chat 0.1.0 → 0.1.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
@@ -143,9 +143,18 @@ Browsers reserve `Ctrl+1`–`Ctrl+8` for tab switching, so `Shift+digit` is the
143
143
  fallback that always works in an ordinary tab. Clicking a thumbnail also focuses it,
144
144
  and right-clicking one opens the same dialog `r` does.
145
145
 
146
+ Those are picker keys. Everything else you type goes to the focused session, with one
147
+ exception: **`Ctrl+Enter` and `Shift+Enter` insert a newline** instead of submitting.
148
+ A terminal has no modifier bits for Enter — every variant is a bare `\r` on the wire —
149
+ so tring sends `ESC`+`CR` for those two chords, which is what Claude Code and other
150
+ agent CLIs read as "break the line". Native terminals need `/terminal-setup` to do the
151
+ same thing; here it works out of the box.
152
+
146
153
  ## Naming and colouring tiles
147
154
 
148
155
  Right-click a tile — or press `r` in the picker — to give it a name and a colour.
156
+ The same dialog has a **Delete** button, which kills the session and frees the slot
157
+ back to empty; `x` in the picker does the same thing.
149
158
 
150
159
  The colour is a ring *outside* the status border, never instead of it, so a tile you
151
160
  have tinted still reports whether it is busy, finished or dead. Twenty-four choices:
package/dist/tring.js CHANGED
@@ -1372,8 +1372,7 @@ async function checkForUpdate(cachePath) {
1372
1372
  let latest;
1373
1373
  try {
1374
1374
  const res = await fetch("https://registry.npmjs.org/tring-chat/latest", {
1375
- signal: AbortSignal.timeout(3e3),
1376
- headers: { accept: "application/vnd.npm.install-v1+json" }
1375
+ signal: AbortSignal.timeout(3e3)
1377
1376
  });
1378
1377
  if (!res.ok) return null;
1379
1378
  latest = (await res.json()).version ?? "";