Include current_directory and custom_color in list-workspaces output (#544)
Expose workspace working directory and tab color in the workspace.list response, enabling CLI-based workspace sorting and color inspection.
This commit is contained in:
parent
9b0bf2f66d
commit
1d6f55ce97
1 changed files with 3 additions and 1 deletions
|
|
@ -2877,7 +2877,9 @@ class TerminalController {
|
|||
"index": index,
|
||||
"title": ws.title,
|
||||
"selected": ws.id == tabManager.selectedTabId,
|
||||
"pinned": ws.isPinned
|
||||
"pinned": ws.isPinned,
|
||||
"current_directory": v2OrNull(ws.currentDirectory),
|
||||
"custom_color": v2OrNull(ws.customColor)
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue