diff options
author | Joe Wilm <jwilm@users.noreply.github.com> | 2018-09-17 08:15:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-17 08:15:20 -0700 |
commit | cff58e9d683c44a34f37e628c7faaea4410ada74 (patch) | |
tree | e051a942190247faeab42757dd6a5f08db5a7cca /src/display.rs | |
parent | 865727c062810e29fa33b5c04bb05510e7da3ddf (diff) | |
parent | 054e38e98d8f150b99b50fec9f679c3d23875a0a (diff) | |
download | r-alacritty-cff58e9d683c44a34f37e628c7faaea4410ada74.tar.gz r-alacritty-cff58e9d683c44a34f37e628c7faaea4410ada74.tar.bz2 r-alacritty-cff58e9d683c44a34f37e628c7faaea4410ada74.zip |
Merge pull request #1147 from jwilm/scrollback
Scrollback
Diffstat (limited to 'src/display.rs')
-rw-r--r-- | src/display.rs | 5 |
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, ); }); |