wormclaude 1.0.218 → 1.0.219
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/dist/cli.js +7 -0
- package/dist/theme.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -213,6 +213,13 @@ const _initHistory = () => {
|
|
|
213
213
|
// /kopyala komutu (OSC52 ile panoya) sağlanır. ?1049h alt-screen · ?1007h alternate-scroll.
|
|
214
214
|
// VARSAYILAN: özel renderer (TUI). Eski ink sürümüne dönmek için WORMCLAUDE_INK=1.
|
|
215
215
|
const _TUI = process.env.WORMCLAUDE_INK ? false : true;
|
|
216
|
+
// Pencere/sekme başlığı → "WormClaude" (cmd/Windows Terminal'de "C:\WINDOWS\system32\cmd.exe"
|
|
217
|
+
// yerine). OSC 0 = ikon-adı + başlık. Renderer dalı ÖNCESİ → hem TUI hem ink'te geçerli.
|
|
218
|
+
try {
|
|
219
|
+
if (process.stdout.isTTY)
|
|
220
|
+
process.stdout.write('\x1b]0;WormClaude\x07');
|
|
221
|
+
}
|
|
222
|
+
catch { }
|
|
216
223
|
if (!_TUI) {
|
|
217
224
|
try {
|
|
218
225
|
process.stdout.write('\x1b[?1049h\x1b[?1007h\x1b[2J\x1b[H');
|
package/dist/theme.js
CHANGED