fix(coding-agent): add spacer before context output

This commit is contained in:
Mario Zechner 2026-02-01 02:24:51 +01:00
parent 3b8d0a8921
commit 025b7bec7a

View file

@ -888,6 +888,7 @@ export class InteractiveMode {
const contextFiles = this.session.resourceLoader.getAgentsFiles().agentsFiles;
if (contextFiles.length > 0) {
this.chatContainer.addChild(new Spacer(1));
const contextList = contextFiles.map((f) => theme.fg("dim", ` ${this.formatDisplayPath(f.path)}`)).join("\n");
this.chatContainer.addChild(new Text(`${sectionHeader("Context")}\n${contextList}`, 0, 0));
this.chatContainer.addChild(new Spacer(1));