@timurproko/a1 0.2.7-dev.1269 → 0.2.7-dev.1270

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.
@@ -38,8 +38,8 @@ export interface ScrollbarPresentationInput {
38
38
  export interface ScrollbarPresentation {
39
39
  readonly visible: boolean;
40
40
  readonly reservesSpace: boolean;
41
- readonly trackGlyph: "│" | "┃";
42
- readonly thumbGlyph: "│" | "┃";
41
+ readonly trackGlyph: "┃" | "▐";
42
+ readonly thumbGlyph: "┃" | "▐";
43
43
  }
44
44
  /** Pure appearance decision; activity time is supplied so tests own the clock. */
45
45
  export declare function scrollbarPresentation(input: ScrollbarPresentationInput): ScrollbarPresentation;
@@ -26,8 +26,8 @@ export function scrollbarPresentation(input) {
26
26
  return {
27
27
  visible,
28
28
  reservesSpace,
29
- trackGlyph: thick ? "┃" : "│",
30
- thumbGlyph: thick || input.hovered || input.dragging ? "┃" : "│",
29
+ trackGlyph: thick ? "▐" : "┃",
30
+ thumbGlyph: thick ? "▐" : "┃",
31
31
  };
32
32
  }
33
33
  /** Null when the content fits: no scrollbar is drawn and no width is reserved. */
@@ -10,7 +10,7 @@ export const RAIL_COLUMNS = 2;
10
10
  export function withScrollbarRail(lines, geometry, contentWidth, theme, options = {}) {
11
11
  const inset = options.topInset ?? 0;
12
12
  const presentation = options.presentation
13
- ?? { visible: geometry !== null, reservesSpace: true, trackGlyph: "│", thumbGlyph: "│" };
13
+ ?? { visible: geometry !== null, reservesSpace: true, trackGlyph: "┃", thumbGlyph: "┃" };
14
14
  if (!presentation.reservesSpace)
15
15
  return lines;
16
16
  const drawn = presentation.visible && geometry !== null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timurproko/a1",
3
- "version": "0.2.7-dev.1269",
3
+ "version": "0.2.7-dev.1270",
4
4
  "description": "Standalone single-agent terminal UI on pinned Pi",
5
5
  "type": "module",
6
6
  "privateLaunchContract": "neutral-launch-v1",
@@ -113,7 +113,7 @@
113
113
  "@mariozechner/clipboard": "^0.3.9"
114
114
  },
115
115
  "publication": {
116
- "source": "0783454e6931f7478be0a1bbfe27d9e886a0c3a3",
117
- "pullRequest": 896
116
+ "source": "8c5a4d03abf3e403a929e81078823d286a2f860f",
117
+ "pullRequest": 897
118
118
  }
119
119
  }