Releases: Martan03/termint
Releases · Martan03/termint
v0.8.1
v0.8.1
Features:
- Add dummy
TestBackend(blankBackendimplementation)Backend::get_sizereturns configured terminal size
- Add
LayoutNode::layout, which simplifiesWidget::layoutimplementations
Changes:
Termnow cannot be used withoutBackend- Remove
NoBackendtype
Fixes:
- Fix MacOS compile error by removing
termal/rawfrom default features
v0.8.0
v0.8.0
Features:
- Add mouse event handling (
Widget::on_event) - Add
Application::messageto capture event messages - Add
Buttonwidget - Add default mouse event handling to some widgets
List,TableandScrollableimplement scrolling
- Add option to set custom event
Messageto some widgetsButton,ProgressBar,Scrollable,Table
- Add
LayoutNodefor layout caching (replacesCache)
Changes:
- Add
deltaargument (time between frames) toApplication::update - Remove
BgGradlayout forwarding (such asBgGrad::center,...) Widgettrait API changes due toLayoutNodereplacingCachediffandlayoutare added to theWidgetrendermethod acceptsLayoutNodeinstead ofCacheandRect
v0.7.0
v0.7.0
Features:
- Add
Backendtrait withCrosstermBackendandTermalBackend
implementations - Add option to change
Termbackend - Add
Applicationtrait andTerm::runfor managed main loop - Add
Term::drawfor size-aware rendering usingFramecontext - Add option to force scrollbar visibility to List and Table
- Add automatic terminal restoration on crash or when
Termdropped
Changes:
Termnow requires a backend type (such asTerm::<Backend>::new())
Fixes:
- Fix
Modifierincorrectly coloring text blue - Fix
ProgressBarthumb styling issues
v0.6.1
v0.6.0
v0.6.0
Features:
- Add missing From traits to Overlay widget
- Add ProgressBar widget
- Add Table widget
- Add Widget Cache
- Optional
serdetrait implementation
Changes:
- Change
BgGradAPI - Change
BorderandModifierto use bitflags macro - Rename
StrSpanExtensiontoToSpan - Rework text rendering - add generic text parser
- Use
termallibrary for getting terminal size and some other useful things
v0.5.2
v0.5.1
v0.5.0
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