aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-12 05:47:32 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-12 05:51:17 -0500
commit28eea9f6a837dad5febfe9b021b7070e96b286f9 (patch)
treec48d13955c045b892b95f6e652f8be22938705d1 /CHANGELOG.md
parentbdda29c8e82e22bf49b5588f341549d3f94d6d30 (diff)
downloadvt100-rust-28eea9f6a837dad5febfe9b021b7070e96b286f9.tar.gz
vt100-rust-28eea9f6a837dad5febfe9b021b7070e96b286f9.zip
remove parser.screen_mut
it's easier to reason about if you are only able to get an immutable reference to the internal screen. this also required changing the api for bells.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bd0dc9f..c268b6c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,9 +8,19 @@
* `Default` impl for `Parser` which creates an 80x24 terminal with no
scrollback.
+### Removed
+
+* `Parser::screen_mut` (and the `pub` `&mut self` methods on `Screen`). The few
+ things you can do to change the screen state directly are now exposed as
+ methods on `Parser` itself.
+
### Changed
* `Cell::contents` now returns a `String` instead of a `&str`.
+* `Screen::check_audible_bell` and `Screen::check_visual_bell` have been
+ replaced with `Screen::audible_bell_count` and `Screen::visual_bell_count`.
+ You should keep track of the "since the last method call" state yourself
+ instead of having the screen track it for you.
### Fixed