All Versions
27
Latest Version
Avg Release Cycle
39 days
Latest Release
67 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v0.3.0-beta.2
September 23, 2018๐ฅ Breaking Changes
- โ Remove custom
termion
backends. This is motivated by the fact thattermion
structs are meant to be combined/wrapped to provide additional ๐ functionalities to the terminal (e.g AlternateScreen, Mouse support, ...). Thus providing exclusive types do not make a lot of sense and give a false hint that additional features cannot be used together. The recommended approach is now to create your own version ofstdout
:
let stdout = io::stdout().into_raw_mode()?; let stdout = MouseTerminal::from(stdout); let stdout = AlternateScreen::from(stdout);
and then to create the corresponding
termion
backend:let backend = TermionBackend::new(stdout);
The resulting code is more verbose but it works with all combinations of โ additional
termion
features. - โ Remove custom
-
v0.3.0-beta.1
September 08, 2018๐ฅ Breaking Changes
- Replace
Item
by a generic and flexibleText
that can be used in bothParagraph
andList
widgets. - โ Remove unecessary borrows on
Style
.
- Replace
-
v0.3.0-beta.0
September 04, 2018๐ Features
- โ Add a basic
Crossterm
backend
๐ฅ Breaking Changes
- โ Remove
Group
and introduceLayout
in its placeTerminal
is no longer required to compute a layoutSize
has been renamedConstraint
- Widgets are rendered on a
Frame
instead of aTerminal
in order to avoid mixingdraw
andrender
calls - ๐ป
draw
onTerminal
expects a closure where the UI is built by rendering widgets on the givenFrame
- โก๏ธ Update
Widget
traitdraw
takes area by valuerender
takes aFrame
instead of aTerminal
- ๐ All widgets use the consumable builder pattern
SelectableList
can have no selected item and the highlight symbol is hidden in this case- โ Remove markup langage inside
Paragraph
.Paragraph
now expects an iterator ofText
items
- โ Add a basic
-
v0.2.3
June 09, 2018๐ Features
- โ Add
start_corner
option forList
- โ Add more text aligment options for
Paragraph
- โ Add
-
v0.2.2
May 06, 2018๐ Features
Terminal
implementsDebug
๐ฅ Breaking Changes
- ๐ Use
FnOnce
instead ofFnMut
in Group::render
-
v0.2.1
April 01, 2018๐ Features
- โ Add
AlternateScreenBackend
intermion
backend - โ Add
TermionBackend::with_stdout
in order to let an user of the library provides its own termion struct - โ Add tests and documentation for
Buffer::pos_of
- โ Remove leading whitespaces when wrapping text
๐ Bug Fixes
- Fix
debug_assert
inBuffer::pos_of
- ๐
Pass the style of
SelectableList
to the underlyingList
- ๐ Fix missing character when wrapping text
- ๐ Fix panic when specifying layout constraints
- โ Add
-
v0.2.0
December 26, 2017โ Added
- โ Add
MouseBackend
intermion
backend to handle scroll and mouse events - โ Add generic
Item
for items in aList
๐ Changed
- ๐ Rename
TermionBackend
toRawBackend
(to distinguish it from theMouseBackend
) - Generic parameters for
List
to allow passing iterators as items - Generic parameters for
Table
to allow using iterators as rows and header - Generic parameters for
Tabs
๐ Rename
border
bitflags toBorders
โ Run latest
rustfmt
on all sources
โ Removed
- โฌ๏ธ Drop
log4rs
as a dev-dependencies in favor ofstderrlog
- โ Add