mirror of
https://github.com/alacritty/alacritty.git
synced 2026-11-28 00:09:44 +03:00
89937e7bc53bcdf6738bc378d02978ece8a205e6
The main loop body was originally all written inline. There's now separate functions for each of the actions the loop handles including channel events, pty reading, and pty writing. There's also helper functions on State for managing the write list. The `EventLoop` and its `State` are returned when joining with the thread it spawns. This will potentially be helpful once config reloading is introduced.
Languages
Rust
95.8%
Shell
3%
GLSL
0.9%
Makefile
0.3%