ccmanager 0.1.7 → 0.1.8

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.
@@ -43,9 +43,16 @@ const Session = ({ session, sessionManager, onReturnToMenu, }) => {
43
43
  // https://github.com/kbwo/ccmanager/issues/2
44
44
  const currentCols = process.stdout.columns || 80;
45
45
  const currentRows = process.stdout.rows || 24;
46
- session.process.resize(currentCols, currentRows);
47
- if (session.terminal) {
48
- session.terminal.resize(currentCols, currentRows);
46
+ // Do not delete try-catch
47
+ // Prevent ccmanager from exiting when claude process has already exited
48
+ try {
49
+ session.process.resize(currentCols, currentRows);
50
+ if (session.terminal) {
51
+ session.terminal.resize(currentCols, currentRows);
52
+ }
53
+ }
54
+ catch {
55
+ /* empty */
49
56
  }
50
57
  // Listen for session data events
51
58
  const handleSessionData = (activeSession, data) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccmanager",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "TUI application for managing multiple Claude Code sessions across Git worktrees",
5
5
  "license": "MIT",
6
6
  "author": "Kodai Kabasawa",