diff options
-rw-r--r-- | CHANGELOG.md | 36 | ||||
-rw-r--r-- | Cargo.toml | 2 |
2 files changed, 37 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 41013b3..ca03027 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,41 @@ # Changelog +## [0.3.0] - 2019-11-06 + +### Added + +* `Screen::rows` which is like `Screen::contents` except that it returns the + data by row instead of all at once, and also allows you to restrict the + region returned to a subset of columns. +* `Screen::rows_formatted` which is like `Screen::rows`, but returns escape + sequences sufficient to draw the requested subset of each row. +* `Screen::contents_diff` and `Screen::rows_diff` which return escape sequences + sufficient to turn the visible state of one screen (or a subset of the screen + in the case of `rows_diff`) into another. + +### Changed + +* The screen is now exposed separately from the parser, and is cloneable. +* `contents_formatted` now returns `Vec<u8>` instead of `String`. +* `contents` and `contents_formatted` now only allow getting the contents of + the entire screen rather than a subset (but see the entry for `rows` and + `rows_formatted` above). + +### Removed + +* `Cell::new`, since there's not really any reason that this is useful for + someone to do from outside of the crate. + +### Fixed + +* `contents_formatted` now preserves the state of empty cells instead of + filling them with spaces. +* We now clear the row wrapping state when the number of columns in the + terminal is changed. +* `contents_formatted` now ensures that the cursor has the correct hidden state + and location. +* `contents_formatted` now clears the screen before starting to draw. + ## [0.2.0] - 2019-11-04 ### Changed @@ -1,6 +1,6 @@ [package] name = "vt100" -version = "0.2.0" +version = "0.3.0" authors = ["Jesse Luehrs <doy@tozt.net>"] edition = "2018" |