mirror of
https://github.com/alacritty/alacritty.git
synced 2026-11-25 15:15:51 +03:00
1a1b740c38cfbadff4cd985ee925ac024627d2b9
This adds a trait OnResize and a separate method handle_resize to the display. Instead of having a callback to receive resize events, a list of &mut OnResize are passed to this new method. Doing this allowed the only RefCell usage in the codebase to be removed :).
Languages
Rust
95.8%
Shell
3%
GLSL
0.9%
Makefile
0.3%