8000 tweaks to terminal sizing · coder/vscode-coder@f39f458 · GitHub
[go: up one dir, main page]

Skip to content

Commit f39f458

Browse files
committed
tweaks to terminal sizing
1 parent c7001d5 commit f39f458

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/commands.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,10 +411,16 @@ export class Commands {
411411
// Then launch an integrated terminal with screen session
412412
const terminal = vscode.window.createTerminal({
413413
name: "Claude Code Session",
414+
location: vscode.TerminalLocation.Panel
414415
})
415416

416417
// Show the terminal and run the screen command
417418
terminal.show(true)
419+
420+
// Hide sidebar and maximize terminal panel
421+
// await vscode.commands.executeCommand("workbench.action.toggleSidebarVisibility")
422+
await vscode.commands.executeCommand("workbench.action.toggleMaximizedPanel")
423+
418424
terminal.sendText("screen -xRR claude-code")
419425
}
420426

0 commit comments

Comments
 (0)
0