aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/display/content.rs
diff options
context:
space:
mode:
authorThomas Churchman <thomas@kepow.org>2022-02-03 13:04:46 +0100
committerGitHub <noreply@github.com>2022-02-03 12:04:46 +0000
commit998250f3c3168855ede9ee14be9a52f884f12055 (patch)
tree04a80488b8c68f71646ff139aa8dd7bc051940c0 /alacritty/src/display/content.rs
parentd22cd7409ce4979a722ebe56578dc3dec176212c (diff)
downloadr-alacritty-998250f3c3168855ede9ee14be9a52f884f12055.tar.gz
r-alacritty-998250f3c3168855ede9ee14be9a52f884f12055.tar.bz2
r-alacritty-998250f3c3168855ede9ee14be9a52f884f12055.zip
Fix renderable_cursor method documentation
This method no longer returns an `Option` since #5773. Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
Diffstat (limited to 'alacritty/src/display/content.rs')
-rw-r--r--alacritty/src/display/content.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/alacritty/src/display/content.rs b/alacritty/src/display/content.rs
index 3b549992..09d27cf0 100644
--- a/alacritty/src/display/content.rs
+++ b/alacritty/src/display/content.rs
@@ -108,8 +108,6 @@ impl<'a> RenderableContent<'a> {
}
/// Assemble the information required to render the terminal cursor.
- ///
- /// This will return `None` when there is no cursor visible.
fn renderable_cursor(&mut self, cell: &RenderableCell) -> RenderableCursor {
// Cursor colors.
let color = if self.terminal_content.mode.contains(TermMode::VI) {