mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-03 04:34:21 -05:00
A cross-platform, OpenGL terminal emulator.
fd755831f2
To minimize rendering, the input must be handled in a separate thread. To see, why, consider the optimal rendering solution: renders are only necessary when the pty has data that changes the terminal state, OR there is a window event which changes the graphics state. When not drawing, the render thread is to remain parked at a condition variable, and it's not possible to handle input while parked! Thus, we need a separate thread. In addition to adding the separate thread, each subsystem thread is now spawned in a separate function to (hopefully) improve readability. |
||
---|---|---|
docs | ||
font | ||
res | ||
src | ||
.gitignore | ||
.travis.yml | ||
alacritty.yml | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE-APACHE | ||
TASKS.md |