aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-12-09 21:10:49 -0800
committerJoe Wilm <joe@jwilm.com>2016-12-11 20:23:41 -0800
commit4ba29314375337c7c4deca01b06450dbccfc0289 (patch)
tree373cdc4c82270164934e00427f19b0d2ff963cce /src/lib.rs
parent093ac43f806d4321674888a7cd48d4c2ecdfa7bf (diff)
downloadalacritty-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.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 8f08303b..cd4f382e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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};