File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/vs/workbench/contrib/inlineChat/browser Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -340,6 +340,9 @@ export class InlineChatController implements IEditorContribution {
340
340
break ;
341
341
}
342
342
343
+ if ( session . session . input ) {
344
+ options . message = session . session . input ;
345
+ }
343
346
this . _session = session ;
344
347
return State . INIT_UI ;
345
348
}
@@ -371,10 +374,6 @@ export class InlineChatController implements IEditorContribution {
371
374
372
375
373
376
this . _zone . value . widget . updateInfo ( message ) ;
374
- this . _zone . value . widget . value = this . _session . session . input ?? this . _session . lastInput ?. value ?? this . _zone . value . widget . value ;
375
- if ( this . _session . session . input ) {
376
- this . _zone . value . widget . selectAll ( ) ;
377
- }
378
377
379
378
this . _showWidget ( ! this . _session . lastExchange ) ;
380
379
@@ -451,6 +450,7 @@ export class InlineChatController implements IEditorContribution {
451
450
this . updateInput ( options . message ) ;
452
451
aria . alert ( options . message ) ;
453
452
delete options . message ;
453
+ this . _showWidget ( false ) ;
454
454
}
455
455
456
456
let message = Message . NONE ;
You can’t perform that action at this time.
0 commit comments