From 6b081dcc95f08ac61e7f29033bbf0394ccff3472 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Fri, 16 Jun 2017 12:56:55 -0700 Subject: Fix unnecessary redraws with active selection Could be cleaned up a bit if there was a wrapper for Option that contained this flag. Also fixes a few compiler warnings. --- src/term/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/term') 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; -- cgit