Skip to content

✨ per-side border support#96

Merged
dreyfus92 merged 4 commits into
mainfrom
per-side-border-69
Jun 24, 2026
Merged

✨ per-side border support#96
dreyfus92 merged 4 commits into
mainfrom
per-side-border-69

Conversation

@rauhryan

Copy link
Copy Markdown
Collaborator

What does this PR do?

Adds per-side border support

Closes #

Type of change

  • Bug fix
  • Feature
  • Refactor (no behavior change)
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Checklist

  • All tests pass (pnpm test)
  • Files are formatted (pnpm format)
  • I have added/updated tests for my changes (if applicable)
  • I have added a changeset

AI-generated code disclosure

  • This PR includes AI-generated code

@github-actions

github-actions Bot commented Jun 10, 2026

Copy link
Copy Markdown

Size Increased — +1.8 KB

112.2 KB unpacked

@pkg-pr-new

pkg-pr-new Bot commented Jun 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/clayterm@96

commit: ea06359

@rauhryan

Copy link
Copy Markdown
Collaborator Author
image

@rauhryan rauhryan marked this pull request as ready for review June 10, 2026 17:10
@rauhryan rauhryan requested a review from cowboyd June 11, 2026 13:49

@dreyfus92 dreyfus92 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good overall just left a comment 👀

Comment thread src/clayterm.c Outdated
Base automatically changed from issue-68-border-bg to main June 14, 2026 14:15
rauhryan added 4 commits June 14, 2026 10:30
expands per-side border attributes to allow for fg, width, bg properties
for each side of the border
As we add features to the wire format, this makes is simplier to adjust
the memory allocation of the wasm

For example, the PR can add 24 new bytes of memory to an element
operation that defines border properties

probably not a big deal, but its nice to keep it in mind
@rauhryan rauhryan force-pushed the per-side-border-69 branch from 2902494 to ea06359 Compare June 14, 2026 14:33

@cowboyd cowboyd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think is ok to put transformation stuff in the ops layer for now.

@dreyfus92

Copy link
Copy Markdown
Member

thank you both ✌🏻

@dreyfus92 dreyfus92 merged commit 12cb0a4 into main Jun 24, 2026
14 checks passed
@dreyfus92 dreyfus92 deleted the per-side-border-69 branch June 24, 2026 17:24
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.

3 participants