1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Fix renderable_cursor method documentation

This method no longer returns an `Option` since #5773.

Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
This commit is contained in:
Thomas Churchman 2022-02-03 13:04:46 +01:00 committed by GitHub
parent d22cd7409c
commit 998250f3c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {