Skip to content

Commit

Permalink
Present errors in normal mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacdonald committed Nov 24, 2024
1 parent e712fdf commit e50ae64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/presenters/modes/normal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ pub fn display(
presenter.print(&position, Style::Default, Colors::Default, line);
}

if let Some(e) = error {
presenter.print_error(e.description());
}

presenter.set_cursor(None);
presenter.present()?;
}
Expand Down

0 comments on commit e50ae64

Please sign in to comment.