Не подтверждена Коммит eab66e79 создал по автору Rob Lourens's avatar Rob Lourens Зафиксировано автором GitHub
Просмотр файлов

Fix chat history navigation (#243942)

Caused by keeping the mode in the input history state
владелец 80442508
......@@ -1353,7 +1353,7 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
}
}
const historyKeyFn = (entry: IChatHistoryEntry) => JSON.stringify(entry);
const historyKeyFn = (entry: IChatHistoryEntry) => JSON.stringify({ ...entry, state: { ...entry.state, chatMode: undefined } });
function getLastPosition(model: ITextModel): IPosition {
return { lineNumber: model.getLineCount(), column: model.getLineLength(model.getLineCount()) + 1 };
......
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать