feat: equal-sized tabs and constantly updated tab titles

This commit is contained in:
Lucas Oskorep
2026-02-27 12:24:58 -05:00
parent a2aaaf8fc3
commit 6690eaf007
6 changed files with 46 additions and 8 deletions

View File

@@ -72,6 +72,13 @@ export default class Monitor {
this._workspaces.push(new WindowContainer(this._workArea));
}
refreshTabTitlesForWindow(winWrap: WindowWrapper): void {
const wsId = winWrap.getWorkspace();
if (wsId >= 0 && wsId < this._workspaces.length) {
this._workspaces[wsId].refreshTabTitles();
}
}
hideTabBars(): void {
for (const container of this._workspaces) {
container.hideTabBar();