-
Implement component callbacks, help callbacks, suspend callbacks, and entry filters.
-
Implement Form.watch_fd().
-
Implement get_position() and get_size() for Component.
-
Implement the simple message windows
win_message()
,win_choice()
, andwin_ternary()
. -
Implement
get_cursor_position()
andset_cursor_position()
for theEntry
component. -
Add the feature static allowing users to force the crate to be built against static versions of the bundled libraries. Usually dynamic linking against the system libraries will be used if they are available.
- Depend on
newt-sys
crate to provide library bindings.
-
The
get_current()
function forListbox
andCheckboxTree
now returnsOption
, rather thanpanic!
ing when there are no entries. -
Implemented internal trait
Data
that's accepted as an argument for certainListbox
andCheckboxTree
functions. Added implementations of theData
trait to integer primitives. -
Added
newt::components::component::Data
tuple struct that implements theData
trait. This can be used to wrap references to complex data types. -
CheckboxTree::add_item()
indexes parameter is now anOption
.
get_current()
as implemented forCheckboxTree
andListbox
raisespanic!
when called while those components have no entries, preventing it from returning an invalid memory reference.
- Minimum functionality of basic components.