Skip to content

v0.1.2

Compare
Choose a tag to compare
@sourcefrog sourcefrog released this 19 Jan 19:13
· 28 commits to main since this release
v0.1.2

Released 2022-07-27

  • API change: Removed View::new_stderr and View::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.