Skip to content

Commit

Permalink
Update documentation of ActivityLine
Browse files Browse the repository at this point in the history
  • Loading branch information
osa1 committed Nov 5, 2023
1 parent de98703 commit 9800576
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/libtiny_tui/src/messaging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@ impl From<Tm> for Timestamp {
}
}

/// An activity line is just a line that we update on joins / leaves /
/// disconnects. We group activities that happen in the same minute to avoid
/// redundantly showing lines.
/// A line showing joins, leaves, and disconnects.
struct ActivityLine {
/// Timestamp of the line.
ts: Timestamp,

/// Index of the line in its `MsgArea`.
line_idx: usize,
}

Expand Down

0 comments on commit 9800576

Please sign in to comment.