Skip to content

Commit

Permalink
Fix renderable_cursor method documentation
Browse files Browse the repository at this point in the history
This method no longer returns an `Option` since alacritty#5773.

Co-authored-by: Kirill Chibisov <[email protected]>
  • Loading branch information
tomcur and kchibisov committed Feb 3, 2022
1 parent d22cd74 commit 998250f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions alacritty/src/display/content.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 998250f

Please sign in to comment.