Skip to content

Releases: Martan03/termint

v0.8.1

03 Apr 10:42

Choose a tag to compare

v0.8.1

Features:

  • Add dummy TestBackend (blank Backend implementation)
    • Backend::get_size returns configured terminal size
  • Add LayoutNode::layout, which simplifies Widget::layout implementations

Changes:

  • Term now cannot be used without Backend
  • Remove NoBackend type

Fixes:

  • Fix MacOS compile error by removing termal/raw from default features

v0.8.0

01 Apr 15:36

Choose a tag to compare

v0.8.0

Features:

  • Add mouse event handling (Widget::on_event)
  • Add Application::message to capture event messages
  • Add Button widget
  • Add default mouse event handling to some widgets
    • List, Table and Scrollable implement scrolling
  • Add option to set custom event Message to some widgets
    • Button, ProgressBar, Scrollable, Table
  • Add LayoutNode for layout caching (replaces Cache)

Changes:

  • Add delta argument (time between frames) to Application::update
  • Remove BgGrad layout forwarding (such as BgGrad::center,...)
  • Widget trait API changes due to LayoutNode replacing Cache
    • diff and layout are added to the Widget
    • render method accepts LayoutNode instead of Cache and Rect

v0.7.0

02 Feb 23:02

Choose a tag to compare

v0.7.0

Features:

  • Add Backend trait with CrosstermBackend and TermalBackend
    implementations
  • Add option to change Term backend
  • Add Application trait and Term::run for managed main loop
  • Add Term::draw for size-aware rendering using Frame context
  • Add option to force scrollbar visibility to List and Table
  • Add automatic terminal restoration on crash or when Term dropped

Changes:

  • Term now requires a backend type (such as Term::<Backend>::new())

Fixes:

  • Fix Modifier incorrectly coloring text blue
  • Fix ProgressBar thumb styling issues

v0.6.1

14 Dec 09:51

Choose a tag to compare

v0.6.1

Features:

  • Add buffer grapheme handling

Fixes:

  • Laoyut using cache incorrectly

v0.6.0

07 Sep 17:55

Choose a tag to compare

v0.6.0

Features:

  • Add missing From traits to Overlay widget
  • Add ProgressBar widget
  • Add Table widget
  • Add Widget Cache
  • Optional serde trait implementation

Changes:

  • Change BgGrad API
  • Change Border and Modifier to use bitflags macro
  • Rename StrSpanExtension to ToSpan
  • Rework text rendering - add generic text parser
  • Use termal library for getting terminal size and some other useful things

v0.5.2

05 Nov 20:35

Choose a tag to compare

v0.5.2

Features:

  • Optimize Buffer merge function
  • Add more useful trait implementations
  • Edit docs

v0.5.1

06 Oct 16:42

Choose a tag to compare

v0.5.1

Features:

  • Rename Coords to Vec2
  • Add trait implementations and new features:
    • Buffer
    • Padding
    • Rect
    • Vec2
  • Scrollbar widget
  • Scrollable widget - allows overflown content to be accessed by scrolling
  • Overlay widget

v0.5.0

04 Aug 10:06

Choose a tag to compare

v0.5.0

Features:

  • Add Grid widget
  • Add rendering Buffer (edit all rendering functions)
  • Add rerendering and rendering only changed characters to Term
  • Add small screen option to Term, when widget cannot fit
  • Add Style struct
  • Add universal Color enum (removed Fg and Bg enums)
  • Edit Modifier to work as bitflag rather then enum

Fixes:

  • Fix Layout width & height functions
  • Fix List to have proper state

v0.4.2

12 Apr 17:32

Choose a tag to compare

v0.4.2

Features:

  • Add option to get String representation of Widget and Text

Fixes:

  • Fix Span and Grad ellipsis (when ellipsis couldn't fit)

v0.4.1

26 Mar 20:02

Choose a tag to compare

v0.4.1

Features:

  • Add option to get List offset
  • Add selected background and character to List

Fixes:

  • Remove all println printing (could cause overflow)