Skip to content

Commit

Permalink
don't move focus to terminal blocks under iframes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelEinbinder committed Dec 20, 2023
1 parent 0eae47d commit d943cb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,8 @@ export class Shell {
terminalBlock.fullscreenEvent.on(onFullScreen);
terminalBlock.clearEvent.on(onClear);
this.addItem(terminalBlock);
this._activeItem.dispatch(terminalBlock);
if (!activeIframeBlock)
this._activeItem.dispatch(terminalBlock);
};
terminalTaskQueue.queue(() => addTerminalBlock());
},
Expand Down

0 comments on commit d943cb1

Please sign in to comment.