File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
src/vs/workbench/contrib/terminalContrib/chat/browser Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ registerActiveXtermAction({
91
91
return ;
92
92
}
93
93
const contr = TerminalChatController . activeChatWidget || TerminalChatController . get ( activeInstance ) ;
94
- contr ?. chatWidget ?. focusResponse ( ) ;
94
+ contr ?. chatWidget ?. inlineChatWidget . chatWidget . focusLastMessage ( ) ;
95
95
}
96
96
} ) ;
97
97
Original file line number Diff line number Diff line change @@ -158,12 +158,6 @@ export class TerminalChatWidget extends Disposable {
158
158
focus ( ) : void {
159
159
this . _inlineChatWidget . focus ( ) ;
160
160
}
161
- focusResponse ( ) : void {
162
- const responseElement = this . _inlineChatWidget . domNode . querySelector ( '.monaco-list' ) ;
163
- if ( responseElement instanceof HTMLElement ) {
164
- responseElement . focus ( ) ;
165
- }
166
- }
167
161
hasFocus ( ) : boolean {
168
162
return this . _inlineChatWidget . hasFocus ( ) ;
169
163
}
You can’t perform that action at this time.
0 commit comments