✨ feat(vscode): 设置可关新开终端分屏

This commit is contained in:
cruldra committed 2026-09-01 17:38:06 +08:00
1 parent 7463113170
commit ffae9ce2b8
11 files changed
+66 -7

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
/**
* 会话终端落在编辑区哪一栏。
* 数值对齐 VS Code ViewColumn:2 = Two(右侧分屏),-1 = Active(当前栏只加标签)。
*/
export function terminalEditorColumn(split: boolean): 2 | -1 {
return split ? 2 : -1
}