Skip to content

build(deps): bump @opentui/solid from 0.5.14 to 0.6.1 - #196

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/opentui/solid-0.6.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/opentui/solid-0.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @opentui/solid from 0.5.14 to 0.6.1.

Release notes

Sourced from @​opentui/solid's releases.

Release v0.6.1

In 0.6.0, EditBuffer.setText("a\fb") throws NativeError. The editor places its cursor by display cell, and a control character took no cells, so the cursor could not move past it or delete it. In 0.5.14, which accepted controls, the cursor in "a\fb" could not reach column 0, Backspace stopped at "a\f", and rendering "A\x07B\x1bC\fD" wrote raw BEL and ESC bytes to the terminal. Rejecting the text stopped that, but every application then had to remove these characters before it could edit a string.

In 0.6.1, editors keep control characters and show them the way Vim and Neovim do. The text "a\fb\0c\x1bd\x85e\x7ff" shows as a^Lb^@c^[d<85>e^?f. A C0 control or DEL is caret notation in two cells, and a C1 control is lowercase hex in four cells. The notation changes only how the text looks. The cursor stops before each control, one Backspace deletes it, and getText(), undo, and selection copy return the original characters. Tab, carriage return, and line feed work as before. Read-only text, such as TextRenderable, still gives controls no cells.

This has one cost. An editor offset is no longer the same as a JavaScript string width. Bun.stringWidth("\f") is 0, but ^L takes two cells. Code that calculates editor offsets from string widths, such as code that places an extmark after a match, must ask the buffer instead. measureText() measures text the way the buffer lays it out, and getTextRange() converts an offset back to a string index:

buffer.setText("\f@file")
const text = buffer.getText()
const offset = buffer.measureText(text.slice(0, text.indexOf("@"))) // 2: ^L takes two cells
buffer.getTextRange(0, offset).length // 1: the index of "@"

Added

  • core: EditBuffer.measureText(text) returns the display offset at the end of text as the buffer would lay it out. It counts each line break as one. See Editing buffers and views. (#1636)
  • native: ot_edit_buffer_measure_text() gives the same measurement through the C interface. See Editing buffers and views. (#1636)

Changed

  • core: EditBuffer.setText(), insertText(), and replaceText(), Textarea initialValue, Input.value, and placeholders accept control characters and do not throw NativeError. An editor shows C0 controls and DEL as ^@ to ^_ and ^? in two cells, and C1 controls as <80> to <9f> in four cells. See Editing buffers and views.

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 14, 2026
@socket-security

socket-security Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​opentui/​core@​0.5.14 ⏵ 0.6.198 +110094 +198 +1100
Updated@​opentui/​solid@​0.5.14 ⏵ 0.6.110010099 +198 +1100

View full report

Bumps [@opentui/solid](https://github.com/anomalyco/opentui/tree/HEAD/packages/solid) from 0.5.14 to 0.6.1.
- [Release notes](https://github.com/anomalyco/opentui/releases)
- [Commits](https://github.com/anomalyco/opentui/commits/v0.6.1/packages/solid)

---
updated-dependencies:
- dependency-name: "@opentui/solid"
  dependency-version: 0.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps): bump @opentui/solid from 0.5.14 to 0.6.0 build(deps): bump @opentui/solid from 0.5.14 to 0.6.1 Oct 15, 2026
@dependabot
dependabot Bot force-pushed the dependabot/bun/opentui/solid-0.6.0 branch from d51b97c to 24967c3 Compare October 15, 2026 00:15
@dependabot @github

dependabot Bot commented on behalf of github Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

Looks like @opentui/solid is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Oct 15, 2026
@dependabot
dependabot Bot deleted the dependabot/bun/opentui/solid-0.6.0 branch October 15, 2026 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants