Skip to main content

max / makeover-tui

Take makeover-layout 0.37.0 Field::as_instant, carried and not honoured: this renderer draws the box and the runtime above it gathers what a submit sends, so a wall-clock-to-instant conversion belongs where that gathering happens rather than here. Said on `field` rather than left for a reader to discover.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-08-28 15:00 UTC
Signed with PGP, not checked
Commit: 15bea9522fc63d82fcb690ab4796fbf737f7ab6b
Parent: 1653d3b
2 files changed, +9 insertions, -2 deletions
M Cargo.toml +2 -2
@@ -1,6 +1,6 @@
1 1 [package]
2 2 name = "makeover-tui"
3 - version = "0.36.0"
3 + version = "0.37.0"
4 4 edition = "2024"
5 5 description = "The terminal renderer for makeover-layout, on ratatui. Colour stops being the constraint above 256 entries; geometry never does, because an edge occupies a whole cell on every side."
6 6 license = "MIT"
@@ -19,7 +19,7 @@
19 19 # compile against an API added in a later one -- which is what `Depth::Overlay`
20 20 # would do here. The rest of the suite has pinned this way since
21 21 # makeover-webview found it the hard way.
22 - makeover-layout = "0.36.0"
22 + makeover-layout = "0.37.0"
23 23 # The cadence the activity mark blinks at, and the motion-off seam beside it.
24 24 # Taken rather than chosen here: `activity_lit` is this crate's only use of it,
25 25 # and the whole point is that the number is not this crate's to pick.
@@ -585,6 +585,13 @@
585 585 ///
586 586 /// `focused` marks the box rather than the label, because the box is where the
587 587 /// typing lands.
588 + ///
589 + /// [`makeover_layout::Field::as_instant`] is carried and not honoured. It asks
590 + /// for a wall-clock value to be submitted as the moment it names, and this
591 + /// renderer has no submission: it draws the box and the runtime above it
592 + /// gathers what a submit sends, so the conversion belongs where that gathering
593 + /// happens. The value drawn and read here is the local one, in
594 + /// `makeover_layout::DATETIME_FORMAT`.
588 595 pub fn field(
589 596 style: &PieceStyle,
590 597 field: &Field<'_>,