Skip to content

Commit 2d6c2a2

Browse files
committed
rm excl
1 parent 6af6142 commit 2d6c2a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/vs/workbench/contrib/interactiveSession/browser/actions/interactiveSessionActions.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ export function registerInteractiveSessionActions() {
170170
if (e.keyCode === KeyCode.Escape && inputEditor.getValue() === helpText) {
171171
inputEditor.updateOptions({ readOnly: false });
172172
inputEditor.setValue(cachedInput);
173-
inputEditor.setPosition(cachedPosition!);
173+
if (cachedPosition) {
174+
inputEditor.setPosition(cachedPosition);
175+
}
174176
widget.focusInput();
175177
disposable.dispose();
176178
}

0 commit comments

Comments
 (0)