We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6af6142 commit 2d6c2a2Copy full SHA for 2d6c2a2
src/vs/workbench/contrib/interactiveSession/browser/actions/interactiveSessionActions.ts
@@ -170,7 +170,9 @@ export function registerInteractiveSessionActions() {
170
if (e.keyCode === KeyCode.Escape && inputEditor.getValue() === helpText) {
171
inputEditor.updateOptions({ readOnly: false });
172
inputEditor.setValue(cachedInput);
173
- inputEditor.setPosition(cachedPosition!);
+ if (cachedPosition) {
174
+ inputEditor.setPosition(cachedPosition);
175
+ }
176
widget.focusInput();
177
disposable.dispose();
178
}
0 commit comments