Skip to content

chore: version packages - #122

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

chore: version packages#122
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@bomb.sh/tty@0.9.0

Minor Changes

  • #118 619d2d4 Thanks @natemoo-re! - Changes border sides to reserve layout space instead of drawing as an overlay. Each border width is now added to the padding on its side, so content and children are laid out inside the border rather than collapsing behind the border glyphs.

    This is a breaking change for callers who compensated for the old behavior by setting layout.padding equal to the border width — that padding is now additive and double-counts. Remove the workaround:

      {
        border: { color, left: 1, right: 1, top: 1, bottom: 1 },
    -   layout: { padding: { left: 1, right: 1, top: 1, bottom: 1 } },
      }

    A border of 1 with no padding now reserves one cell per bordered side; border of 1 plus padding of 1 reserves two, measured inward from the border edge.

  • #118 619d2d4 Thanks @natemoo-re! - Adds a caret property to text elements that positions the terminal's hardware cursor at a code-point offset within the text, resolved through wrapping and wide-character widths. The cursor shows only while a caret is declared; an offset at or past the content length places it one cell past the last character, giving text inputs a real, movable cursor.

Patch Changes

  • #118 619d2d4 Thanks @natemoo-re! - Shrinks the bundled WASM ~35% (156 kB → 101 kB raw) by compiling out Clay's unused debug-inspector UI.

  • #120 b371922 Thanks @natemoo-re! - Scales the renderer's memory arena to the terminal grid instead of a fixed default, cutting the reservation for an 80×24 grid ~51% (4.85 MB → 2.39 MB) with no change to render performance.

  • #118 619d2d4 Thanks @natemoo-re! - Fixes width measurement for non-printable, control, and surrogate code points, which now measure as one U+FFFD cell to match what the renderer draws (width data regenerated against Unicode 17).

@pkg-pr-new

pkg-pr-new Bot commented Sep 1, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@bomb.sh/tty@122

commit: 30fd60c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants