From 1405e304920031741ebf5ff585d2db274e532eea Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Fri, 16 Jan 2026 23:19:58 +0100 Subject: [PATCH] revert: remove editor paddingX from coding-agent --- packages/coding-agent/CHANGELOG.md | 1 - .../coding-agent/src/modes/interactive/interactive-mode.ts | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index e59bfa5a..2c5bac90 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -15,7 +15,6 @@ ### Fixed - Fixed crash during auto-compaction when summarization fails (e.g., quota exceeded). Now displays error message instead of crashing ([#792](https://github.com/badlogic/pi-mono/issues/792)) -- Input editor now aligns with message content padding ([#791](https://github.com/badlogic/pi-mono/pull/791) by [@ferologics](https://github.com/ferologics)) - Fixed `--no-extensions` flag not preventing extension discovery ([#776](https://github.com/badlogic/pi-mono/issues/776)) - Fixed extension messages rendering twice on startup when `pi.sendMessage({ display: true })` is called during `session_start` ([#765](https://github.com/badlogic/pi-mono/pull/765) by [@dannote](https://github.com/dannote)) - Fixed `PI_CODING_AGENT_DIR` env var not expanding tilde (`~`) to home directory ([#778](https://github.com/badlogic/pi-mono/pull/778) by [@aliou](https://github.com/aliou)) diff --git a/packages/coding-agent/src/modes/interactive/interactive-mode.ts b/packages/coding-agent/src/modes/interactive/interactive-mode.ts index 0c48e5ae..38f2597d 100644 --- a/packages/coding-agent/src/modes/interactive/interactive-mode.ts +++ b/packages/coding-agent/src/modes/interactive/interactive-mode.ts @@ -241,7 +241,7 @@ export class InteractiveMode { this.statusContainer = new Container(); this.widgetContainer = new Container(); this.keybindings = KeybindingsManager.create(); - this.defaultEditor = new CustomEditor(this.ui, getEditorTheme(), this.keybindings, { paddingX: 1 }); + this.defaultEditor = new CustomEditor(this.ui, getEditorTheme(), this.keybindings); this.editor = this.defaultEditor; this.editorContainer = new Container(); this.editorContainer.addChild(this.editor as Component); @@ -1150,7 +1150,6 @@ export class InteractiveMode { this.hideExtensionEditor(); resolve(undefined); }, - { paddingX: 1 }, ); this.editorContainer.clear();