ratatui/examples/demo
Eric Lunderberg f29c73fb1c
feat(tabs): accept Iterators of Line in constructors (#776)
Any iterator whose item is convertible into `Line` can now be
collected into `Tabs`.

In addition, where previously `Tabs::new` required a `Vec`, it can now
accept any object that implements `IntoIterator` with an item type
implementing `Into<Line>`.

BREAKING CHANGE:

Calls to `Tabs::new()` whose argument is collected from an iterator
will no longer compile.  For example,
`Tabs::new(["a","b"].into_iter().collect())` will no longer compile,
because the return type of `.collect()` can no longer be inferred to
be a `Vec<_>`.
2024-01-10 17:16:44 -08:00
..
app.rs fix(prelude): remove widgets module from prelude (#317) 2023-07-16 09:11:59 +00:00
crossterm.rs refactor(examples): add vim binding (#688) 2023-12-14 19:11:48 -08:00
main.rs chore(features): enable building with all-features (#286) 2023-07-04 03:58:25 +00:00
termion.rs refactor(examples): add vim binding (#688) 2023-12-14 19:11:48 -08:00
termwiz.rs refactor(examples): add vim binding (#688) 2023-12-14 19:11:48 -08:00
ui.rs feat(tabs): accept Iterators of Line in constructors (#776) 2024-01-10 17:16:44 -08:00