Repository navigation
chore(deps): update opentui - #22
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
commit: |
renovate
Bot
force-pushed
the
renovate/opentui
branch
from
July 17, 2026 14:27
b25a572 to
f8f5214
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
2 times, most recently
from
August 4, 2026 06:39
3801e87 to
98c897c
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
4 times, most recently
from
August 18, 2026 15:17
167d32f to
d1f33f6
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
3 times, most recently
from
August 25, 2026 12:56
33a33c2 to
3596eb8
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
2 times, most recently
from
September 1, 2026 19:02
e5f8841 to
c38a2b3
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
from
September 7, 2026 13:08
c38a2b3 to
8c1a7b0
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
from
September 22, 2026 18:50
8c1a7b0 to
bd331c4
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
from
October 1, 2026 03:17
bd331c4 to
80484bd
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
2 times, most recently
from
October 7, 2026 11:14
46c4570 to
febd6be
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
6 times, most recently
from
October 11, 2026 21:25
287c721 to
1b35cb9
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
5 times, most recently
from
October 14, 2026 19:41
ae06eef to
8d111fe
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
5 times, most recently
from
October 25, 2026 21:48
e71d907 to
f2e9967
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
4 times, most recently
from
November 3, 2026 14:59
accabce to
2de3abc
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
3 times, most recently
from
November 11, 2026 02:04
3992391 to
6aeff3f
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
7 times, most recently
from
November 20, 2026 11:41
475075b to
effd6b3
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
2 times, most recently
from
November 24, 2026 00:45
04a5709 to
eb4bea2
Compare
renovate
Bot
force-pushed
the
renovate/opentui
branch
from
November 30, 2026 22:48
eb4bea2 to
1637ab8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
0.5.14→0.9.120.5.14→0.9.120.5.14→0.9.120.5.14→0.9.120.5.14→0.9.120.5.14→0.9.120.5.14→0.9.120.5.14→0.9.121.9.15→1.9.20Release Notes
anomalyco/opentui (@opentui/core)
v0.9.12Compare Source
API changes and documentation: https://opentui.com/docs/releases/0.9.12
What's Changed
Full Changelog: anomalyco/opentui@v0.9.11...v0.9.12
v0.9.10Compare Source
Suppose a prompt has a footer, and the footer has a status line. One plugin adds a clock to the status line. Another plugin replaces the whole footer. Where does the clock go? The slot registry cannot answer that question. It gives each slot one flat name, and its slots do not contain each other.
OpenTUI 0.9.10 adds a slot tree to
@opentui/core. A slot path is names joined by dots, and a path contains every path that extends it at a dot:prompt.footercontainsprompt.footer.status, but notprompt.footerbar. The host mounts paths. Each plugin is an owner that claims a place before, after, or inside a path, or that replaces it. In Solid and React,createTreeSlotbinds a tree to aSlotcomponent:Two rules answer the question about the clock. First, the last
replaceon a path wins and suppresses every claim inside that path, so a plugin that replacesprompt.footeralso hides the clock. Second, an added claim on a path that is not mounted goes to the end of the nearest mounted ancestor. If the host never mountsprompt.footer.status, the clock shows at the end ofprompt.footer.tree.resolution()lists the suppressed claims, each with the claim that won, and the claims that moved to an ancestor. A host can use that list to explain why a plugin's content does not show.A stage holds a plugin's claims until
commit(), so a plugin that fails during setup shows nothing: callstage.dispose()and its claims never show. Each claim renders in its own error boundary. A claim that throws calls the tree'sonErrorand shows the placeholder. The other claims in the slot still render. The slot registry,SlotRenderable, and the existingSlotcomponents do not change. Rust apps get the same tree asopentui::slot. The Rust crate and Core check the same table of expected results.Added
SlotTreeholds plugin claims on nested slot paths, such asprompt.footerandprompt.footer.status.resolveSlotClaims()resolves claims without a tree, andslotPathContains()tells if one path contains another. See Load plugins and modules at runtime. (#2204)createTreeSlot(tree, options)returns aSlotcomponent for aSlotTree. Each claim renders in its own error boundary, andoptions.placeholdershows instead of a claim that fails. See Load plugins and modules at runtime. (#2204)createTreeSlot(tree, options)returns aSlotcomponent for aSlotTree. Each claim renders in its own error boundary, andoptions.placeholdershows instead of a claim that fails. See Load plugins and modules at runtime. (#2204)opentui::slot, a slot tree that resolves claims as Core does.Tree::mountreturns aSlotwidget, and a plugin claim with an empty name in its path returnsMountError::InvalidPath. See Widgets and layout. (#2205)Fragment, a container with no box of its own. Its children lay out, draw, take focus, and receive clicks as children of the fragment's parent. See Widgets and layout. (#2201)Fixed
;. Before,ESC [97, a pause, and then;2utyped;2uinstead of Shift+A. See Keyboard input. (#2207)renderBlockfunction renders code blocks,MarkdownRenderableno longer shows a code block in a list item twice. The extra copy appeared after a theme change or after a change tofg,bg,conceal, the table options, orstreaming. See Markdown. (#2208)>) draws its bar, and list markers use only the list style. See Code, Markdown, and highlighting. (#2210)API changes and documentation: https://opentui.com/docs/releases/0.9.10
What's Changed
Full Changelog: anomalyco/opentui@v0.9.9...v0.9.10
v0.9.9Compare Source
In earlier releases, a Rust app that changed its theme in an
App::on_theme_modehandler kept the old theme's selection colors on every widget it had already created. Widgets copiedTheme::selection_bgandTheme::selection_fgwhen they were created, soApp::set_themereached only widgets created after the call. In 0.9.9 the default selection colors live in the native Context, and each selection reads them when it draws. NowApp::set_themerecolors the selections of existing widgets too, including a selection that is on screen when you call it.This also changes what
Nonemeans in a widget'sselection_colors. Before, aNonecolor kept the text color, andSelectionColors::default()inverted the selected cells. Now aNonecolor takes the theme's color, one color at a time. A selection inverts its cells only when neither the widget nor the theme sets a background. If your app usedSelectionColors::default()to get inverted selections, those selections now draw in the theme's colors.C hosts set the same default with
ot_context_set_selection_colors. Core apps see no change:selectionBg,selectionFg, andsetSelectionColorswork as before. The renderer now gives their colors to the native Context.Added
ot_context_set_selection_colorssets the default selection background and foreground of a Context. A selection that has no color of its own uses the default, and a change also restyles current selections. See C. (#2198)Changed
App::set_themechanges the selection colors of all widgets, including current selections. A color thatselection_colorsleavesNonenow takes the theme's color, not the text color. See Widgets and layout. (#2198)Fixed
MarkdownRenderableno longer throwsundefined is not an object (evaluating 'c.ordinal=o++')while a list streams in. Lists now lay out after all blocks of an update are shown. OpenTUI 0.9.4 to 0.9.8 had this error. See Markdown. (#2199)API changes and documentation: https://opentui.com/docs/releases/0.9.9
What's Changed
Full Changelog: anomalyco/opentui@v0.9.8...v0.9.9
v0.9.8Compare Source
Without selection colors, a selection inverts its cells. On a cell with no opaque background, inverting forces the text to black. opencode keeps the renderer background transparent and paints its own background, so on a light theme every selection showed black text on a near-black background. Until now, the only fix was to set
selectionBgandselectionFgon every text renderable in the app. Now you can set them once, on the renderer:Each color falls back separately. A Textarea that sets only its own
selectionBgkeeps that background and uses the renderer'sselectionFg. TheselectionBgandselectionFggetters on a renderable still return only the values set on that renderable. An app that sets no renderer colors sees no change. ASCIIFont does not use the renderer colors, and the Rust crates do not have renderer selection colors yet.A box with
width: 10, a border, andpadding: 1has 6 columns for its content. The default,"border-box", counts the border and padding as part of the width. WithboxSizing: "content-box", the width is the size of the content:This box is 14 columns by 7 rows, and its content is 10 by 3. Use it when the content needs an exact size and the frame around it can grow. The default is still
"border-box", which is not the CSS initial value, so existing layouts do not change. To restore the default, assignnullorundefined.@opentui/solidno longer installsbabel-plugin-module-resolver. Its own Solid transform now rewrites module specifiers with a small Babel plugin. The earlier Node instructions used the resolver to sendsolid-jsto its client runtime. To move to the new setup, remove the resolver from your Babel config and start Node with thebrowsercondition:If your Babel config still imports the resolver, add
babel-plugin-module-resolverto your own dependencies.@opentui/solidno longer installs it for you.Breaking changes
@opentui/solidno longer depends onbabel-plugin-module-resolver, sonpm audit --omit=devno longer reports GHSA-3g3m-2fjr-6pw4 and GHSA-g3hv-75wg-m249. List the resolver in your own dependencies if your Babel config imports it, or run Node with--conditions=browserinstead. See Solid bindings. (#2182)Added
createCliRenderer()acceptsselectionBgandselectionFg, andrenderer.setSelectionColors(bg, fg)changes them and repaints an active selection. Text, Code, Markdown, Diff, Textarea, Input, and TextTable use these colors when they have no selection color of their own. See Interaction, focus, and selection. (#2196)boxSizinglayout option accepts"content-box", which adds padding and borders to the size and its limits.getBoxSizing()returns the value, and React and Solid props also accept it. See Layout. (#2183)flexBasisaccepts a percentage, such as"50%". Before, Core discarded a percentage value without an error. See Layout. (#2183)Widgettrait hasbox_sizingandaspect_ratiolayout methods. See Widgets and layout. (#2183)Changed
syntax_themeon RustMarkdown,Code,Diff, andTextareaacceptsimpl Into<Arc<SyntaxTheme>>, so views that get clones of oneArcshare one theme. Passing aSyntaxThemestill compiles, and a newDiffview now makes 74 allocations instead of 607. See Code, Markdown, and highlighting. (#2190)Fixed
fg, the renderer resumes at the current terminal size, also in the RustHost. Before, a terminal that changed size during the suspend got a frame at the old size. See Renderer. (#2181)flexBasisor percentage padding now updates when its parent resizes, unless the parent takes its size from its content. Before, a 50% child of a row that grew from 20 to 30 cells stayed at 10 cells. See Layout. (#2192)ScrollBoxthat becomes sticky after layout now follows new rows only from the edge, as in Core. A program scroll on a box with zero rows no longer jumps to the last items when the content grows. See Widgets and layout. (#2185)API changes and documentation: https://opentui.com/docs/releases/0.9.8
What's Changed
Full Changelog: anomalyco/opentui@v0.9.7...v0.9.8
v0.9.7Compare Source
Fixed
defaultscope, such as in theopencodetheme, replaced the text color. See Code, Markdown, and highlighting. (#2180)API changes and documentation: https://opentui.com/docs/releases/0.9.7
What's Changed
Full Changelog: anomalyco/opentui@v0.9.6...v0.9.7
v0.9.6Compare Source
A Rust app on version 0.9.5 of the crates has this dependency in its
Cargo.toml:There is no 0.9.6 of that package. On crates.io, an unrelated project held the names
opentuiandopentui-sys, so 0.9.4 and 0.9.5 went out asanomalyco-opentuiandanomalyco-opentui-sys. OpenTUI now owns the real names. This release and later ones use them, and the interim names stop at 0.9.5. To upgrade, remove thepackagekey:Cargo commands change the same way.
cargo test -p anomalyco-opentuibecomescargo test -p opentui, and--features anomalyco-opentui/tokiobecomes--features opentui/tokio. The library was always namedopentui, so nouseline changes.opentui-sshalso kept its name. A Git dependency on tag v0.9.4 or v0.9.5 still needspackage = "anomalyco-opentui", because the crates at those tags have that name. As before, use the native archive from the same release as the crates, such asopentui-native-v0.9.6-linux-x64.zip. See Install, link, and ship.Breaking changes
opentuiandopentui-sysagain, andanomalyco-opentuiandanomalyco-opentui-sysstop at 0.9.5. Replaceopentui = { package = "anomalyco-opentui", ... }withopentui = "0.9.6", and useopentuiandopentui-syswithcargo -pand--features. See Install, link, and ship. (#2179)Fixed
$before a held pipe, as in$|$[, as plain text while the line waits to become a table header. Before, that$used the math style. See Markdown and Code, Markdown, and highlighting. (#2178)Markdownnow draws prose in its text color with the background and attributes of thedefaultscope, also in quotes, as Core does. Before, prose used the foreground of thedefaultscope and not its background. See Code, Markdown, and highlighting. (#2177)API changes and documentation: https://opentui.com/docs/releases/0.9.6
What's Changed
Full Changelog: anomalyco/opentui@v0.9.5...v0.9.6
v0.9.5Compare Source
With
concealon, Markdown draws the box of a task item as ☐ or ☑. Before this release, an app could not get ASCII boxes and still conceal the rest of the document. Core apps had to patch the item's Text renderables, and Rust apps could not change the box at all. Now both bindings let you set the box text:In Rust, call
task_markers("[ ]", "[x]")on aMarkdown. The box is part of the item's marker. With[ ], the wrapped text of an item therefore continues at column 6, under its first word. When you change the option, the items already on screen update, also while the document streams. Without conceal, the option has no effect, and items show the source's[ ]or[x].A Rust app that streams Markdown into the split-mode scrollback could already get the number of final top-level blocks from
committed_block_count. It could not find which rows those blocks use.block_rows()now returns oneRange<u32>for each top-level block in the latest frame. These are the same rows thatScrollbackSurface::commit_rowstakes. Blocks are one row apart. To commit blocksfrom..to, each with the gap above it, start atrows[from - 1].end, or atrows[0].startfor the first block, and end atrows[to - 1].end. Core apps read the same rows from theyandheightof each child inMarkdownRenderable.getChildren(). A shared test checks that Core and Rust put the blocks of a streamed document on the same rows.Starting with this release, the release workflow publishes the Rust crates to crates.io.
cargo add anomalyco-opentui --rename opentuinow gets the version of the newest release. Link the native archive from that same release. Prereleases are published too, but Cargo selects a prerelease only when you ask for one.Added
MarkdownOptions.taskMarkersandMarkdownRenderable.taskMarkersset the text of the unchecked and checked task boxes whenconcealis on. The defaults are ☐ and ☑. See Markdown. (#2173)Markdown::task_markers(unchecked, checked)sets the task boxes when conceal is on, as Core'staskMarkersdoes. See Code, Markdown, and highlighting. (#2173)Markdown::block_rowsreturns the rows of each top-level block in the latest frame, in the rows thatScrollbackSurface::commit_rowstakes. See Time, animation, and the split footer. (#2174)anomalyco-opentui-sys,anomalyco-opentui, andopentui-sshto crates.io at the release version. See Install, link, and ship. (#2170)API changes and documentation: https://opentui.com/docs/releases/0.9.5
What's Changed
Full Changelog: anomalyco/opentui@v0.9.4...v0.9.5
v0.9.4Compare Source
A Git dependency on the Rust crate must now name its package:
The crates are now ready for crates.io, but the names
opentuiandopentui-sysbelong to an unrelated project there. For now, the packages areanomalyco-opentuiandanomalyco-opentui-sys. The library names do not change, souse opentui::...lines stay the same now and after the crates get their real names. A path dependency needs the samepackageline.cargo -pand--featurestake the package names.opentui-sshkeeps its name. The crates require each other at the exact version, and they need Rust 1.88, not 1.85 as the documentation said. This release does not publish them to crates.io. You still install them with a Git dependency and the native archive from the same release, as Install, link, and ship describes.Core and Rust editors now handle control characters the same way. Text that an app sets keeps them. Call
setText("A\x07B")on a Core Textarea orset_text("A\x07B")on a RustTextarea, and the buffer keeps the BEL and shows it as^G. Before, Rust dropped it and stored"AB". Pasted text loses them. Both bindings first remove escape sequences, then every control character except tab, LF, and CR. Before, a Core paste kept NUL, BEL, form feed, DEL, and NEL and showed them as notation. A Rust paste left the body of a C1 control string in the text. Typed keys never carry control characters, and CoreonPastehandlers still get the raw bytes.Breaking changes
opentuiandopentui-sysare now namedanomalyco-opentuiandanomalyco-opentui-sys. Addpackage = "anomalyco-opentui"to a Git or path dependency, and use the new names withcargo -pand--features. See Install, link, and ship. (#2167)Added
input::decode_paste_bytesandinput::strip_ansi_sequenceswork like Core'sdecodePasteBytesandstripAnsiSequences. See Events, focus, and input. (#2160)Keymap::parse_bindingparses a key the same way that layer registration does, with comma lists and key aliases expanded. See Rust keymap. (#2160)Markdown::committed_block_countreturns the number of final top-level blocks, like Core'scommittedBlockCount, so an app can move streamed rows to scrollback. See Code, Markdown, and highlighting. (#2160)ImageView::fitted_sizeworks like Core'sgetFittedSize, andImageView::cell_aspectreturns the cell aspect ratio that native painting uses. See Images, video, sound, and terminals. (#2160)Color::parseaccepts#rgba, asRGBA.fromHexdoes, andContext::measure_edit_textworks like Core'smeasureEditText. See Widgets and layout. (#2160)Changed
TextareaandInputkeep control characters in text fromset_text,set_value, andinsert, as Core does, and show them as notation such as^G.Inputdrops only line breaks. See Widgets and layout. (#2163)Fixed
insertText,setText, andonPastehandlers do not change. See Textarea. (#2162)TextareaandInputpastes drop complete escape sequences, as Core does, and bracketed paste events drop a leading byte order mark. Before, a C1 control string left its body in the text. See Events, focus, and input. (#2160)API changes and documentation: https://opentui.com/docs/releases/0.9.4
What's Changed
Full Changelog: anomalyco/opentui@v0.9.3...v0.9.4
v0.9.3Compare Source
Fixed
strtodnow link without theLNK2005error forstrtold. The library keeps its bundled MinGW runtime copies private, and MinGW programs that callstrtoldstill work. See Rust. (#2157)API changes and documentation: https://opentui.com/docs/releases/0.9.3
What's Changed
Full Changelog: anomalyco/opentui@v0.9.2...v0.9.3
v0.9.2Compare Source
Fixed
opentui-sysbuild script names the release archive to extract, such asopentui-native-v0.9.2-linux-x64.zip, instead ofbun run build. SetOPENTUI_LIB_HINTto replace this advice with your own setup step. See Rust. (#2150)API changes and documentation: https://opentui.com/docs/releases/0.9.2
What's Changed
Full Changelog: anomalyco/opentui@v0.9.1...v0.9.2
v0.9.1Compare Source
createCliRenderer()returns before the terminal answers its startup queries, and an answer can change the width method. Up to 0.9.0, text created before that answer kept the startup guess. In tmux inside GNU Screen over ssh, a textarea put its cursor at cell 4 after👍🏽while the terminal drew the emoji in 2 cells, and selections and colors could land on other text.In 0.9.1, a renderer whose width method changes measures the text in its scene again: Text, Code, Input, Textarea,
TextTable, and Markdown tables. Cursors, selections, marks, colors, and undo points stay on their text. Applications that use these renderables need no changes.A
TextBufferorEditBufferthat you create yourself keeps its width method. Passtrueas the new third argument ofcreate()to make it follow the renderer that shows it. Only one renderer at a time can show such a buffer. For a buffer that you draw outside a scene, callsetWidthMethod()when the capabilities change:Breaking changes
reservedfield ofot_edit_buffer_optionsis nowflags. C code that names the field must rename it; code that zeroes the struct compiles unchanged. See C. (#2148)Added
TextBuffer.create()andEditBuffer.create()take an optionalfollowSessionWidthargument. A second renderer that shows a following buffer throws aNativeErrorwithNativeStatus.WrongSession. See Editing buffers and views. (#2148)TextBuffer.setWidthMethod()changes the width method of a buffer that you draw outside a scene, andTextBufferView.setSelectionColors()recolors the current selection without moving it. See Editing buffers and views. (#2148, #2149)OT_EDIT_BUFFER_FOLLOW_SESSION_WIDTHflag,ot_text_buffer_set_width_method, and theOT_SCENE_TEXT_SELECTION_COLORSoperation. See C. (#2148, #2149)link.execan linkopentui-static.libinto Windows MSVC executables, which also needntdll,user32,bcrypt, andlegacy_stdio_definitions. See C. (#2140)Changed
LICENSE-ZIG,LICENSE-LLVM,LICENSE-MINGW-W64,LICENSE-GDTOA, andLICENSE-YOGA. See C. (#2140)Fixed
TextTable, and Markdown tables created before the terminal replies now measure with the width method from the replies. See Text and terminal cells. (#2148, #2149)TMUXor aTERMthat starts withtmuxholds back the startup Kitty graphics query, which tmux showed as the pane title. See Terminal capabilities. (#2143)API changes and documentation: <https://open
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.