aboutsummaryrefslogtreecommitdiff
path: root/src/display.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.rs')
-rw-r--r--src/display.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/display.rs b/src/display.rs
index e0453f72..4c3ffed1 100644
--- a/src/display.rs
+++ b/src/display.rs
@@ -24,7 +24,6 @@ use config::Config;
use font::{self, Rasterize};
use meter::Meter;
use renderer::{self, GlyphCache, QuadRenderer};
-use selection::Selection;
use term::{Term, SizeInfo};
use window::{self, Size, Pixels, Window, SetInnerSize};
@@ -326,7 +325,7 @@ impl Display {
/// A reference to Term whose state is being drawn must be provided.
///
/// This call may block if vsync is enabled
- pub fn draw(&mut self, mut terminal: MutexGuard<Term>, config: &Config, selection: Option<&Selection>) {
+ pub fn draw(&mut self, mut terminal: MutexGuard<Term>, config: &Config) {
// Clear dirty flag
terminal.dirty = !terminal.visual_bell.completed();
@@ -374,7 +373,7 @@ impl Display {
// Draw the grid
api.render_cells(
- terminal.renderable_cells(config, selection, window_focused),
+ terminal.renderable_cells(config, window_focused),
glyph_cache,
);
});