Commit Graph

35 Commits (ce445a8096eab2fd23f0ffec156e0065f2beb7da)

Author SHA1 Message Date
Antoine Büsch f795173886 Unify Item and Text 6 years ago
Antoine Büsch 0544c023f5 Rename Text::{Data -> Raw, StyledData -> Styled} 6 years ago
Antoine Büsch 70561b7c54 Fix examples and doctests 6 years ago
Florian Dehau 6c69160d6b feat: remove unecessary borrows of Style 6 years ago
Florian Dehau bcd1e30376 refactor: update List select behavior
* allow a selectable list to have no selected item
* show highlight_symbol only when something is selected
6 years ago
Florian Dehau 13e194cd26 refactor: update widgets
* all widgets use the consumable builder pattern
* `draw` on terminal expect a closure that take a frame as only arg
6 years ago
Florian Dehau d6016788ef refactor: clippy + rustfmt 6 years ago
Florian Dehau ad602a54bf refactor(widgets): replace text rendering in Paragraph
* remove custom markup language
* add Text container for both raw and styled strings
6 years ago
Florian Dehau 7181970a32 feat: split layout from rendering
* remove layout logic from Terminal
* replace Group with Layout
* add Frame intermediate object
6 years ago
Florian Dehau df7493fd33 style: Run rustfmt 6 years ago
Florian Dehau 36146d970a [style] rustfmt 6 years ago
Florian Dehau 36a5eb2110 Format code 6 years ago
Florian Dehau c3c5109c5a [src] Fix build and tests 7 years ago
Florian Dehau 151d7e8a1c [src] Update dependencies
* Update all dependencies to their latest versions
* Change border to Borders to match v1.0 of bitflags
7 years ago
Florian Dehau af16518650 [src] Run rustfmt 7 years ago
Florian Dehau e675d6735c [dependencies] Replace log4rs by stderrlog 7 years ago
Florian Dehau f24517bc5a [examples] Run cargo fmt 7 years ago
Florian Dehau d008892e04 [examples] Fix Demo example 7 years ago
Florian Dehau d6a91d1865 Fix List lifetime issues
Add a new lifetime for the items inside the list
7 years ago
Florian Dehau 41eac2aa4e Refactor demo example 7 years ago
Florian Dehau bb61028e0c Fix examples 7 years ago
Florian Dehau fd1e1f22af Add specification for all examples in Cargo.toml 7 years ago
Florian Dehau b2bb24b9d2 Fix rustfmt and clippy errors 7 years ago
Florian Dehau feefa5d54f Convert backends to conditionnal features for compilation 8 years ago
Florian Dehau 42fb0803af Add examples and demo 8 years ago
Florian Dehau 75d5efa443 Update demo 8 years ago
Florian Dehau ad239ef23c Update list and table to be more flexible
* Move List to SelectableList
* Create a more generic List
* Change the way to pass items to the table widget
* Update demo
8 years ago
Florian Dehau d70e2d1678 Add README, LICENSE and update demo 8 years ago
Florian Dehau 662e2dd102 Fix examples 8 years ago
Florian Dehau 224eb2d8e0 Add support for text styling 8 years ago
Florian Dehau 0b950de09f Update demo 8 years ago
Florian Dehau e00639fab1 Update demo 8 years ago
Florian Dehau 93cc237007 Documentation 8 years ago
Florian Dehau 9e5195096a More work on the widgets API
* Change slice to vecs in table and canvas to ease the interaction with data
constructed on the fly
* Add a legend to charts based on datasets' names and colors
* Update demo to reflect previous updates
8 years ago
Florian Dehau dce4bf15b7 Add a way to disable logging in the demo 8 years ago