v0.1.2
Released 2022-07-27
-
API change: Removed
View::new_stderr
andView::write_to
. Instead, the view can be drawn on stderr or output can be captured using [Options::destination].
This is better aligned with the idea that programs might have a central function that constructs a [Options], as they will probably want to consistently write to either stdout or stderr. -
New: Output can be captured for inspection in tests using [Options::destination], [Destination::Capture], and [View::captured_output].
-
Improved: Nutmeg avoids redrawing if the model renders identical output to what is already displayed, to avoid flicker.