Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.3.0] - 2025-08-13
Added
- ui: add
box_styledfunction which allows customising the border colour of a box - ui: add
button_idandbutton_id_styledfunctions which allow providing an unique internal id for the button, to support having multiple buttons with the same display text
Changed
- render: change render logic to only send redraw calls if the previous frame is different from the next, this largely reduces flickering in tmux though is still mostly a band-aid until proper diff-based rendering logic is implemented.
Fixed
- ui: fix issue with focusing when using
align - focus: fix issue when a button is removed from the view, it can still be focused
- focus: fix issue when cursor was not at end of line in an input field, progressing focus would cause it to reset focus
- layout: fix issue where focusable items in a grid were walked in reverse
[1.2.0] - 2025-07-31
Added
- backend: add support for custom renderers to support
beachcompanion project which allows serving shore apps over ssh - spec: add
spec_with_subjectfunction which provides support for passing an shoremsgsubject to the init function for use inside shore applications - ui: add
input_submitfunction which allows having a ‘submit’ event attached to an input field which will trigger when thesubmitkeybind is pressed while the input field is focused - ui: add
button_styledfunction which allows customising button colours - ui: add
text_wrappedfunctions which provide automatic text wrapping - ui: add
image_unstablefunction which allows using the kitty graphics protocol to display images, note that this is an unstable feature and will likely be reworked and/or removed at a later date
Fixed
- draw: fix ui drawing issue when using on_update with focusable items
- input: fix input field cursor navigation
- input: fix paste support for input
[1.1.0] - 2025-06-20
Added
- ui: add
input_hiddennode for usage such as password fields
Changed
- dep: update
gleam_otpfrom0.16.1to1.0.0 - dep: update
gleam_erlangfrom0.34.0to1.0.0