fix(tmux): require explicit active isolated window
This commit is contained in:
@@ -405,7 +405,7 @@ export class TmuxSessionManager {
|
|||||||
|
|
||||||
private canAutoActivatePane(state: WindowState): boolean {
|
private canAutoActivatePane(state: WindowState): boolean {
|
||||||
if (!this.isIsolated()) return true
|
if (!this.isIsolated()) return true
|
||||||
return state.windowActive && state.sessionAttached
|
return state.windowActive === true && state.sessionAttached === true
|
||||||
}
|
}
|
||||||
|
|
||||||
private async closeTrackedSessionPane(args: {
|
private async closeTrackedSessionPane(args: {
|
||||||
|
|||||||
Reference in New Issue
Block a user