File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments