aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-12-12 09:31:48 -0800
committerJoe Wilm <joe@jwilm.com>2016-12-12 09:31:48 -0800
commit1a1b740c38cfbadff4cd985ee925ac024627d2b9 (patch)
tree98f51ebedcc1abff0101da7747403b0d8aee698f /tests
parent4e9a307bed50fc02f101eb6cbfa4d39283dd6b8c (diff)
downloadalacritty-1a1b740c38cfbadff4cd985ee925ac024627d2b9.tar.gz
alacritty-1a1b740c38cfbadff4cd985ee925ac024627d2b9.zip
Remove need for Rc<RefCell<_>> usage
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 :).
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions