fix(coding-agent): add spacer before context output
This commit is contained in:
@@ -888,6 +888,7 @@ export class InteractiveMode {
|
|||||||
|
|
||||||
const contextFiles = this.session.resourceLoader.getAgentsFiles().agentsFiles;
|
const contextFiles = this.session.resourceLoader.getAgentsFiles().agentsFiles;
|
||||||
if (contextFiles.length > 0) {
|
if (contextFiles.length > 0) {
|
||||||
|
this.chatContainer.addChild(new Spacer(1));
|
||||||
const contextList = contextFiles.map((f) => theme.fg("dim", ` ${this.formatDisplayPath(f.path)}`)).join("\n");
|
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 Text(`${sectionHeader("Context")}\n${contextList}`, 0, 0));
|
||||||
this.chatContainer.addChild(new Spacer(1));
|
this.chatContainer.addChild(new Spacer(1));
|
||||||
|
|||||||
Reference in New Issue
Block a user