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.
2 parents 2805396 + 46802e0 commit c130505Copy full SHA for c130505
src/vs/workbench/contrib/chat/browser/chatWidget.ts
@@ -189,7 +189,7 @@ export class ChatWidget extends Disposable implements IChatWidget {
189
return;
190
}
191
const indexToFocus = type === 'next' ? targetIndex + 1 : targetIndex - 1;
192
- if (indexToFocus < 0 || indexToFocus === responseItems.length - 1) {
+ if (indexToFocus < 0 || indexToFocus > responseItems.length - 1) {
193
194
195
this.focus(responseItems[indexToFocus]);
0 commit comments