ccmanager 2.2.3 → 2.2.4
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.
|
@@ -12,7 +12,7 @@ const execAsync = promisify(exec);
|
|
|
12
12
|
export class SessionManager extends EventEmitter {
|
|
13
13
|
async spawn(command, args, worktreePath) {
|
|
14
14
|
const spawnOptions = {
|
|
15
|
-
name: 'xterm-
|
|
15
|
+
name: 'xterm-256color',
|
|
16
16
|
cols: process.stdout.columns || 80,
|
|
17
17
|
rows: process.stdout.rows || 24,
|
|
18
18
|
cwd: worktreePath,
|
|
@@ -108,7 +108,7 @@ describe('SessionManager', () => {
|
|
|
108
108
|
await sessionManager.createSessionWithPreset('/test/worktree');
|
|
109
109
|
// Verify spawn was called with preset config
|
|
110
110
|
expect(spawn).toHaveBeenCalledWith('claude', ['--preset-arg'], {
|
|
111
|
-
name: 'xterm-
|
|
111
|
+
name: 'xterm-256color',
|
|
112
112
|
cols: expect.any(Number),
|
|
113
113
|
rows: expect.any(Number),
|
|
114
114
|
cwd: '/test/worktree',
|
|
@@ -132,7 +132,7 @@ describe('SessionManager', () => {
|
|
|
132
132
|
expect(configurationManager.getPresetById).toHaveBeenCalledWith('2');
|
|
133
133
|
// Verify spawn was called with preset config
|
|
134
134
|
expect(spawn).toHaveBeenCalledWith('claude', ['--resume', '--dev'], {
|
|
135
|
-
name: 'xterm-
|
|
135
|
+
name: 'xterm-256color',
|
|
136
136
|
cols: expect.any(Number),
|
|
137
137
|
rows: expect.any(Number),
|
|
138
138
|
cwd: '/test/worktree',
|