diff options
| author | Thomas Linford <tlinford@users.noreply.github.com> | 2021-11-22 18:34:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-22 18:34:45 +0100 |
| commit | 707fedd1dfe5409af03f318d0bee423efd2aa0f6 (patch) | |
| tree | 6eeb343b1c3709db9808986de36174e93255feb2 /example | |
| parent | docs(readme): update new command syntax (#876) (diff) | |
| download | sl0ppij-707fedd1dfe5409af03f318d0bee423efd2aa0f6.tar.gz sl0ppij-707fedd1dfe5409af03f318d0bee423efd2aa0f6.tar.xz sl0ppij-707fedd1dfe5409af03f318d0bee423efd2aa0f6.zip | |
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
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions
