Releases: Martan03/termint
Releases · Martan03/termint
Release list
v0.9.0
v0.9.0
Features
- Add
StylizeandStyleabletraits for better styling- Such as
.red(),.on_white()and.bold()
- Such as
- Add
LineandStyledStrfor better text parsing - Add
Text::append_linesto theTexttrait - Add text alignment and ellipsis into
Paragraph - Add
Texttrait implementation forParagraph - Add bottom title to
Block(Block::title_bottom) - Add support for multiple titles to
Block - Add
row_spanandcol_spansupport toGrid - Add
labeltoProgressBar
Changes:
- Remove
Text::render_offset(Text::append_linesshould be used instead) - Remove
Text::getandText::get_textText::getis replaced bystd::fmt::Displayimplementation
Fixes
- Fix table row style not being applied
- Fix text parser ignoring whitespaces when
Wrap::Word - Fix text parser incorrectly measuring width
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