v0.1.2 #9
sourcefrog
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
This discussion was created from the release v0.1.2.
Beta Was this translation helpful? Give feedback.
All reactions