diff options
author | Tuomas Siipola <siiptuo@kapsi.fi> | 2017-02-22 22:46:08 +0200 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-02-22 14:49:29 -0800 |
commit | 3cc27a4d767a87c617b5213810dfce254bac1131 (patch) | |
tree | 097880f8bdac7e9a38014a18f1560c32cc38bd39 /src/event.rs | |
parent | 7bb49fabfa0d2686e4e74c1c11362d6b6aade1ca (diff) | |
download | alacritty-3cc27a4d767a87c617b5213810dfce254bac1131.tar.gz alacritty-3cc27a4d767a87c617b5213810dfce254bac1131.zip |
Set cursor only when its visibility changes
Diffstat (limited to 'src/event.rs')
-rw-r--r-- | src/event.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs index d6b0796a..fd33bfb3 100644 --- a/src/event.rs +++ b/src/event.rs @@ -261,7 +261,7 @@ impl<N: Notify> Processor<N> { pub fn process_events<'a>( &mut self, term: &'a FairMutex<Term>, - window: &Window + window: &mut Window ) -> MutexGuard<'a, Term> { // Terminal is lazily initialized the first time an event is returned // from the blocking WaitEventsIterator. Otherwise, the pty reader would |