Skip to content

Commit d5a50e9

Browse files
authored
fix(tiles): remove left gap; restore assistant chooser overlay
Quick fix for UI regression.
1 parent 89fd053 commit d5a50e9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/public/panes.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ class ClaudePane {
159159
const sm = this.app?.sessionTabManager;
160160
if (sm && sm.activeSessions) {
161161
const rec = sm.activeSessions.get(id);
162-
if (rec && (rec.status === 'active' || rec.status === 'idle')) return true;
162+
// Consider only 'active' as running. 'idle' may mean newly created and never started.
163+
if (rec && rec.status === 'active') return true;
163164
}
164165
} catch (_) {}
165166
return false;
@@ -255,7 +256,8 @@ class PaneManager {
255256
this.enabled = true;
256257
const tc = document.getElementById('terminalContainer');
257258
if (tc) {
258-
tc.style.display = '';
259+
// Hide the single-pane container to avoid an empty column gap
260+
tc.style.display = 'none';
259261
const tw = tc.querySelector('.terminal-wrapper');
260262
if (tw) tw.style.display = 'none';
261263
}

0 commit comments

Comments
 (0)