cursive/cursive-core
James Tai bc49eebeb8
Fix text alignment when wrapped (#471)
* Fix text alignment when wrapped

This changes the `LinesIterator` to return a `width` that corresponds
with the actual total length of the chunks, rather than returning the
total available width, when a line is wrapped. This effectively reverts
20cb033b8d (I am not sure why that commit
changed it).

* Add `is_wrapped` flag to `Row`

* Fix TextArea width with wrapped rows

Co-authored-by: Alexandre Bury <alexandre.bury@gmail.com>
2020-07-25 16:51:33 -07:00
..
src Fix text alignment when wrapped (#471) 2020-07-25 16:51:33 -07:00
Cargo.toml Bump cursive-core to 0.1.1 2020-07-04 10:29:45 -07:00
Readme.md Update Readme 2020-05-26 11:39:05 -07:00

Cursive-core

This crate is where most of cursive is defined, except for the backends.

Third-party libraries are encouraged to depend on this instead of cursive, as it should have fewer semver breaking updates.