@kud/claude-sessions-cli 1.0.0 → 1.0.1
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/index.js +8 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -378,8 +378,10 @@ var App = () => {
|
|
|
378
378
|
if (cursor === 0) {
|
|
379
379
|
setMode("new");
|
|
380
380
|
setNewName("");
|
|
381
|
-
} else if (items[cursor])
|
|
382
|
-
|
|
381
|
+
} else if (items[cursor]) {
|
|
382
|
+
const s = items[cursor];
|
|
383
|
+
doExit({ type: s.claudeProjectDir ? "open" : "new", dir: s.dir });
|
|
384
|
+
}
|
|
383
385
|
}
|
|
384
386
|
if (input === "d" && cursor > 0) setMode("confirm-delete");
|
|
385
387
|
if (input === "C") {
|
|
@@ -400,8 +402,10 @@ var App = () => {
|
|
|
400
402
|
setSearch("");
|
|
401
403
|
setMode("new");
|
|
402
404
|
setNewName("");
|
|
403
|
-
} else if (items[cursor])
|
|
404
|
-
|
|
405
|
+
} else if (items[cursor]) {
|
|
406
|
+
const s = items[cursor];
|
|
407
|
+
doExit({ type: s.claudeProjectDir ? "open" : "new", dir: s.dir });
|
|
408
|
+
}
|
|
405
409
|
}
|
|
406
410
|
if (key.escape) {
|
|
407
411
|
setSearch("");
|