Skip to content

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 04:18
· 100 commits to main since this release

v0.11.0 brings the tree layout system to a stable release, adds explicit Command/Verbatim modes to the composer, and shows time remaining in timer listings.

Breaking Changes

  • rune.ui.layout now accepts a tree of row and column containers with pane, bar, input, and separator leaves. The old top/bottom layout tables are no longer accepted. Move pane sizing, borders, and titles into the tree, and include exactly one input node. See the layout guide for complete examples.
  • Pane visibility now belongs to its placement in the layout. Hidden panes and regions release their space to siblings; installing another layout or running /reload restores the declared visibility while preserving pane buffers and scroll positions. Scripts upgrading from an earlier v0.11 beta should use rune.pane.is_hidden and rune.ui.regions.is_hidden in place of is_visible.
  • Repeats use #N command or #N alias. Repeat blocks such as #3 {n;e} are rejected before any commands are sent. Define an alias for a sequence and repeat that alias instead.
  • Alt+V and Alt+Enter are reserved input controls and no longer dispatch custom Lua bindings while editing a draft. Modal pickers and Find continue to capture their own keys.

New

  • Layouts support nested sidebars and stacked panes, fixed cell sizes, percentages, fractional shares, automatic heights, size bounds, gaps, and joined dividers. Named regions let scripts show or hide a whole subtree with rune.ui.regions; regions containing input remain visible.
  • The composer has explicit COMMAND and VERBATIM modes. Alt+V switches modes without changing text, cursor, or selection; from ordinary input it opens the composer in Verbatim mode. Enter submits in the selected mode, and Alt+Enter runs the draft as a command once.
  • Multiline /lua input runs as one command with source newlines and indentation preserved. Structured paste starts in Verbatim unless you have explicitly chosen a mode for the draft. History restores both text and interpretation; ordinary game commands still stay on one physical line.
  • /timers shows the time until each timer's next scheduled wake-up, such as every 60.0s (23.4s left). Lua scripts can read the same snapshot in seconds from each entry's remaining field in rune.timer.list() (#84).
  • rune.pane.replace(name, text) replaces a pane's contents in one update, avoiding an empty frame between separate clear and write calls.

Changed

  • History, alias pickers, and Find show results above a single bottom query field. Modal pickers hide the command draft until they close; slash completion keeps it active beneath suggestions.
  • Composer headers show the mode, line count, and destination of Alt+V. Both modes show Ctrl+J newline; Ctrl+Enter remains supported. Narrow layouts omit complete secondary hints, and Ctrl+E editor appears only when bound and space permits. Ordinary input keeps plain borders.
  • Composer discard uses two Escape presses, with Esc again to discard after the first. Other keys cancel confirmation and perform their usual action.
  • Doubled command separators represent a literal separator. With the default setting, say hello;;world sends say hello;world as one command.
  • Output is untitled by default, including while scrolled. Set title on its layout leaf to label it.

Fixed

  • Picker separators meet surrounding column dividers instead of drawing an inset box, and pane titles preserve border junctions.
  • Input remains reachable in constrained layouts, with consistent sizing and shared borders as the terminal resizes.
  • Invalid or oversized command drafts remain in the editor for correction or a mode switch. keep_input also selects retained multiline commands so typing replaces the whole draft.

Downloads

Standard Rune archives are available for macOS, Linux, and Windows on amd64 and arm64. The rune_jit archives contain the LuaJIT build for macOS arm64, Linux amd64/arm64, and Windows amd64. Checksums accompany the downloads.

Full changes since v0.10.1