feat(coding-agent): add configurable assistant output padding
Closes #6168
This commit is contained in:
@@ -113,6 +113,7 @@ export interface Settings {
|
||||
treeFilterMode?: "default" | "no-tools" | "user-only" | "labeled-only" | "all"; // Default filter when opening /tree
|
||||
thinkingBudgets?: ThinkingBudgetsSettings; // Custom token budgets for thinking levels
|
||||
editorPaddingX?: number; // Horizontal padding for input editor (default: 0)
|
||||
outputPad?: 0 | 1; // Horizontal padding for assistant output (default: 1)
|
||||
autocompleteMaxVisible?: number; // Max visible items in autocomplete dropdown (default: 5)
|
||||
showHardwareCursor?: boolean; // Show terminal cursor while still positioning it for IME
|
||||
markdown?: MarkdownSettings;
|
||||
@@ -1182,6 +1183,16 @@ export class SettingsManager {
|
||||
this.save();
|
||||
}
|
||||
|
||||
getOutputPad(): 0 | 1 {
|
||||
return this.settings.outputPad === 0 ? 0 : 1;
|
||||
}
|
||||
|
||||
setOutputPad(padding: 0 | 1): void {
|
||||
this.globalSettings.outputPad = padding;
|
||||
this.markModified("outputPad");
|
||||
this.save();
|
||||
}
|
||||
|
||||
getAutocompleteMaxVisible(): number {
|
||||
return this.settings.autocompleteMaxVisible ?? 5;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user