@clubnet/seedclub 0.2.21 → 0.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,12 +14,13 @@ class SurfaceEditor extends CustomEditor {
14
14
  private readonly getPalette: () => Palette;
15
15
  private static readonly RESET = "\x1b[0m";
16
16
  private static readonly INSET = "";
17
+ private static readonly CONTENT_INSET = 2;
17
18
  private static readonly PLACEHOLDER = "/ for menu";
18
19
 
19
20
  constructor(tui: TUI, theme: EditorTheme, kb: KeybindingsManager, getPalette: () => Palette) {
20
21
  super(tui, theme, kb);
21
22
  this.getPalette = getPalette;
22
- this.setPaddingX(2);
23
+ super.setPaddingX(SurfaceEditor.CONTENT_INSET);
23
24
  }
24
25
 
25
26
  render(width: number): string[] {
@@ -47,6 +48,10 @@ class SurfaceEditor extends CustomEditor {
47
48
  super.invalidate();
48
49
  }
49
50
 
51
+ override setPaddingX(_padding: number): void {
52
+ super.setPaddingX(SurfaceEditor.CONTENT_INSET);
53
+ }
54
+
50
55
  override handleInput(data: string): void {
51
56
  if (!uiState.ready) {
52
57
  // Keep app-level interrupts available while startup UI is loading.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clubnet/seedclub",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
4
4
  "description": "A branded command-line agent wrapper around pi, with integrated Seed Club commands, tools, and app actions",
5
5
  "license": "MIT",
6
6
  "repository": {