diff options
author | Patrycja Balik <patrycjabalik@gmail.com> | 2018-07-15 15:10:33 +0200 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-07-15 13:10:33 +0000 |
commit | 18f6a7814a7aff8fb06d6b9a795e0f8144954d1f (patch) | |
tree | 4003b07d0d2705c74227147f871351a579021121 /src/term/mod.rs | |
parent | 4928b0ae75aa326e8dd96e745fb701ae1ce1fce1 (diff) | |
download | alacritty-18f6a7814a7aff8fb06d6b9a795e0f8144954d1f.tar.gz alacritty-18f6a7814a7aff8fb06d6b9a795e0f8144954d1f.zip |
Add config for unfocused window cursor change
Diffstat (limited to 'src/term/mod.rs')
-rw-r--r-- | src/term/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs index d1f48c91..02d846a4 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -998,7 +998,7 @@ impl Term { ) -> RenderableCellsIter { let selection = selection.and_then(|s| s.to_span(self)) .map(|span| span.to_range()); - let cursor = if window_focused { + let cursor = if window_focused || !config.unfocused_hollow_cursor() { self.cursor_style.unwrap_or(self.default_cursor_style) } else { CursorStyle::HollowBlock |