zellij/zellij-server
Thomas Linford 707fedd1df
fix(performance): keep track of scrollback buffer size (#881)
Fix #877. Avoid calculating scrollback buffer size on each render, since the calculation becomes slower proportionally to the amount of lines buffered, and to the width of each line.
* wip: keep track of scrollback buffer size

* account for lines dropped by bounded_push

* fix: use saturating sub

* fix: account for 0 width lines

* remove log messages
2021-11-22 18:34:45 +01:00
..
src fix(performance): keep track of scrollback buffer size (#881) 2021-11-22 18:34:45 +01:00
Cargo.toml chore(version): bump development version 2021-11-10 18:01:56 +01:00