From a705c1f07de2b8ec3ba4fe46377242f151b996c1 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 8 Mar 2023 22:31:00 -0500 Subject: use callbacks for events rather than tracking counters --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 51a7f97..477fc5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ ## [Unreleased] +### Added + +* `Parser::process_cb`, which works the same as `Parser::process` except that + it calls callbacks during parsing when it finds a terminal escape which is + potentially useful but not something that affects the screen itself. + +### Removed + +* `Screen::bells_diff`, `Screen::audible_bell_count`, + `Screen::visual_bell_count`, and `Screen::errors` have been removed in favor + of the new callback api described above. + ### Changed * `Parser::set_size` and `Parser::set_scrollback` have been moved to methods -- cgit v1.2.3-54-g00ecf