diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-11-16 04:07:38 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-11-16 04:26:44 -0500 |
commit | 50960d16b66679b81e4f69b451d834695c86b8c6 (patch) | |
tree | fec8f89f8230dee3c78e06a2021f3c1be6359ab9 /CHANGELOG.md | |
parent | 1e3ebda4e1d6a2cdfb507cc0ed39aaacf3df0314 (diff) | |
download | vt100-rust-50960d16b66679b81e4f69b451d834695c86b8c6.tar.gz vt100-rust-50960d16b66679b81e4f69b451d834695c86b8c6.zip |
expose some extra internal state to help reproduce line wrapping
adds `row_wrapped` and `cursor_state_formatted` to allow you to better
recreate the internal state of the cursor when using `rows_formatted`.
also make `rows_formatted` keep track of the wrapping state itself,
since there are some edge cases that aren't really able to easily be
tracked externally.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c83ecba..a391fda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ ### Added * `Screen::alternate_screen` to determine if the alternate screen is in use +* `Screen::row_wrapped` to determine whether the row at the given index should + wrap its text +* `Screen::cursor_state_formatted` to set the cursor position and hidden state + (including internal state like the one-past-the-end state which isn't visible + in the return value of `cursor_position`) + +### Fixed + +* `Screen::rows_formatted` now outputs correct escape codes in some edge cases + at the beginning of a row when the previous row was wrapped ## [0.12.0] - 2021-03-09 |