aboutsummaryrefslogtreecommitdiff
path: root/src/term
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-06-16 12:56:55 -0700
committerJoe Wilm <jwilm@users.noreply.github.com>2017-06-19 21:31:50 -0700
commit6b081dcc95f08ac61e7f29033bbf0394ccff3472 (patch)
tree8041293a6915d03ba15fa6f74f20a5c70ebaebc9 /src/term
parent63bcb4601198790ccdb96ffec4a360ce3080e685 (diff)
downloadalacritty-6b081dcc95f08ac61e7f29033bbf0394ccff3472.tar.gz
alacritty-6b081dcc95f08ac61e7f29033bbf0394ccff3472.zip
Fix unnecessary redraws with active selection
Could be cleaned up a bit if there was a wrapper for Option<Selection> that contained this flag. Also fixes a few compiler warnings.
Diffstat (limited to 'src/term')
-rw-r--r--src/term/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs
index 1a79d309..cd7ffadd 100644
--- a/src/term/mod.rs
+++ b/src/term/mod.rs
@@ -24,7 +24,7 @@ use unicode_width::UnicodeWidthChar;
use ansi::{self, Color, NamedColor, Attr, Handler, CharsetIndex, StandardCharset, CursorStyle};
use grid::{BidirectionalIterator, Grid, ClearRegion, ToRange, Indexed};
-use index::{self, Point, Column, Line, Linear, IndexRange, Contains, RangeInclusive, Side};
+use index::{self, Point, Column, Line, Linear, IndexRange, Contains, RangeInclusive};
use selection::{self, Span, Selection};
use config::{Config, VisualBellAnimation};
use Rgb;