diff options
author | Joe Wilm <joe@jwilm.com> | 2016-12-09 21:10:49 -0800 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-12-11 20:23:41 -0800 |
commit | 4ba29314375337c7c4deca01b06450dbccfc0289 (patch) | |
tree | 373cdc4c82270164934e00427f19b0d2ff963cce /src/lib.rs | |
parent | 093ac43f806d4321674888a7cd48d4c2ecdfa7bf (diff) | |
download | alacritty-4ba29314375337c7c4deca01b06450dbccfc0289.tar.gz alacritty-4ba29314375337c7c4deca01b06450dbccfc0289.zip |
Cleaning up main; Added window module
Adds a wrapper for the glutin::Window which provides strongly typed
APIs and more convenient interfaces. Moves some gl calls into the
opengl-based renderer.
The point of most of the changes here is to clean up main().
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -48,8 +48,11 @@ extern crate bitflags; #[macro_use] pub mod macros; +pub mod ansi; +pub mod config; pub mod event; pub mod event_loop; +pub mod grid; pub mod index; pub mod input; pub mod meter; @@ -58,9 +61,7 @@ pub mod sync; pub mod term; pub mod tty; pub mod util; -pub mod ansi; -pub mod config; -pub mod grid; +pub mod window; use std::sync::Arc; use std::sync::atomic::{AtomicBool, Ordering}; |