Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
osa1 committed Nov 5, 2023
1 parent e5f5f87 commit c1b3f7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/libtiny_tui/src/messaging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,9 @@ impl MessagingUI {

fn get_activity_line_idx(&mut self, ts: Timestamp) -> usize {
match &self.last_activity_line {
Some(l) if l.ts == ts && Some(l.line_idx) == self.msg_area.num_lines().checked_sub(1) => {
Some(l)
if l.ts == ts && Some(l.line_idx) == self.msg_area.num_lines().checked_sub(1) =>
{
let line_idx = l.line_idx;
// FIXME: It's a bit hacky to add a space in this function which from the name
// looks like a getter.
Expand Down

0 comments on commit c1b3f7a

Please sign in to comment.