Use a separate, re-useable ring-buffer implementation

Not only is it re-useable it also allows for easier debugging by
separating the ring buffer specific logic and the pager history logic.

Hopefully it fixes #3049
This commit is contained in:
Kovid Goyal
2020-12-11 21:17:38 +05:30
parent 3b8be26cc7
commit bffe0f4a6c
5 changed files with 675 additions and 69 deletions

View File

@@ -52,6 +52,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
- Add a ``right`` option for :opt:`tab_switch_strategy` (:pull:`3155`)
- Fix a regression in 0.19.0 that caused a rare crash when using the optional
:opt:`scrollback_pager_history_size` (:iss:`3049`)
0.19.2 [2020-11-13]
-------------------