Skip to content

chore: version packages - #124

Merged
natemoo-re merged 2 commits into
mainfrom
changeset-release/main
Sep 4, 2026
Merged

chore: version packages#124
natemoo-re merged 2 commits into
mainfrom
changeset-release/main

Conversation

@bombshell-bot

@bombshell-bot bombshell-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

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

  • #116 31fc1ae 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.

  • #113 6efecfb Thanks @natemoo-re! - Adds a new term.update() method to resize the terminal without reinitializing the WebAssembly module.

    If you previously ran createTerm({ width, height }) on resize events, you should replace that with an explicit term.update({ width, height }) call.

  • #103 b9c10b3 Thanks @cowboyd! - 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

  • #89 2ebc906 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.

  • #49 d4bc79b 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 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: f94bb82

@bombshell-bot
bombshell-bot Bot force-pushed the changeset-release/main branch from b89959c to a7cfda6 Compare September 4, 2026 22:09
@bombshell-bot
bombshell-bot Bot force-pushed the changeset-release/main branch from a7cfda6 to 6134b42 Compare September 4, 2026 22:22
@natemoo-re
natemoo-re merged commit 7fb1097 into main Sep 4, 2026
12 checks passed
@natemoo-re
natemoo-re deleted the changeset-release/main branch September 4, 2026 22:49
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.

2 participants