pi-libtui 0.3.2 → 0.3.7

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.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # pi-libtui
2
2
 
3
+ [Pi gallery](https://pi.dev/packages/pi-libtui)
4
+
3
5
  Shared terminal UI for Pi extensions: layouts, split panes, dialogs, pickers,
4
6
  selection actions, semantic colors, icons, cursors, syntax highlighting,
5
7
  animated tool surfaces, streamed output, diffs, terminal projection, and the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-libtui",
3
- "version": "0.3.2",
3
+ "version": "0.3.7",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,7 +13,7 @@ const HUE_EDGES: readonly ChannelMask[] = [
13
13
  [true, false, true],
14
14
  ];
15
15
 
16
- /** Width of the upstream color256 terminal preview, including its base16 legend. */
16
+ /** Width of the color256 terminal preview, including its base16 legend. */
17
17
  export const COLOR256_PREVIEW_WIDTH = 69;
18
18
 
19
19
  /**
@@ -3,7 +3,7 @@ import { visibleWidth } from "@earendil-works/pi-tui";
3
3
  import { COLOR256_PREVIEW_WIDTH, renderColor256Preview } from "../src/color/preview.ts";
4
4
 
5
5
  describe("color256 preview", () => {
6
- test("matches the upstream terminal grid dimensions and labels", () => {
6
+ test("matches the terminal grid dimensions and labels", () => {
7
7
  const lines = renderColor256Preview("harmonious");
8
8
  expect(lines).toHaveLength(20);
9
9
  expect(lines.every((line) => visibleWidth(line) === COLOR256_PREVIEW_WIDTH)).toBe(true);