Skip to content

Commit ce6b272

Browse files
authored
debug: fix input staying readonly during a restart when repl not visible (#240431)
Refs #239900
1 parent 94d0534 commit ce6b272

File tree

1 file changed

+2
-0
lines changed
  • src/vs/workbench/contrib/debug/browser

1 file changed

+2
-0
lines changed

src/vs/workbench/contrib/debug/browser/repl.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ export class Repl extends FilterViewPane implements IHistoryNavigationWidget {
215215
const focusedSession = this.debugService.getViewModel().focusedSession;
216216
if (this.tree && this.tree.getInput() !== focusedSession) {
217217
this.onDidFocusSession(focusedSession);
218+
} else {
219+
this.selectSession();
218220
}
219221

220222
this.setMode();

0 commit comments

Comments
 (0)