mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 15:04:36 +03:00
b7b1e4020a
Adds Pane::for_each_logical_line_in_stable_range_mut and Pane::with_lines_mut which allow iterating mutably over lines. The idea is that this will allow the renderer to directly cache data in the Line via its appdata without having to build cumbersome external caching logic and managing cache keys. This commit just swaps the implementation around for localpane and sanity checks that the renderer functions. Various overlays and the mux client don't properly implement these yet and current warn at compile time and panic at runtime. To follow is the logic to cache the data and make sure that it works the way that I think before converting the other Pane implementations. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |