aboutsummaryrefslogtreecommitdiff
path: root/src/ansi.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/ansi.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/ansi.rs')
-rw-r--r--src/ansi.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ansi.rs b/src/ansi.rs
index 50dec9ac..f876cb54 100644
--- a/src/ansi.rs
+++ b/src/ansi.rs
@@ -927,7 +927,6 @@ pub mod C1 {
#[cfg(test)]
mod tests {
use std::io;
-
use index::{Line, Column};
use super::{Processor, Handler, Attr, TermInfo, Color};
use ::Rgb;
@@ -945,7 +944,6 @@ mod tests {
}
}
-
#[derive(Default)]
struct AttrHandler {
attr: Option<Attr>,