Commit Graph

18 Commits (ce445a8096eab2fd23f0ffec156e0065f2beb7da)

Author SHA1 Message Date
Antoine Büsch 0544c023f5 Rename Text::{Data -> Raw, StyledData -> Styled} 6 years ago
Antoine Büsch ff47f9480b Introduce builder methods for Text to make it more ergonomic 6 years ago
Antoine Büsch 559c9c75f3 Make Text accept both borrowed and owned strings 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
Robin Nehls 597e219257 [examples] update paragraph example to show text alignment 6 years ago
Florian Dehau 36146d970a [style] rustfmt 6 years ago
Florian Dehau 36a5eb2110 Format code 6 years ago
Florian Dehau f24517bc5a [examples] Run cargo fmt 7 years ago
Florian Dehau 71545a0aa8 Run cargo fmt 7 years ago
Florian Dehau bb61028e0c Fix examples 7 years ago
Florian Dehau b2bb24b9d2 Fix rustfmt and clippy errors 7 years ago
Sebastian Woetzel 7652cc440d
fixes panic when terminal was resized 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