Skip to content

Commit

Permalink
Fix time indent
Browse files Browse the repository at this point in the history
After #164 being merged, indent is now smaller.
  • Loading branch information
boxdot committed Jul 11, 2022
1 parent c0f7e39 commit 942eb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ fn draw_messages<B: Backend>(f: &mut Frame<B>, app: &mut App, area: Rect) {
let max_username_width = names.max_name_width();

// message display options
const TIME_WIDTH: usize = 10;
const TIME_WIDTH: usize = 6; // width of "00:00 "
const DELIMITER_WIDTH: usize = 2;
let mut prefix_width = TIME_WIDTH + max_username_width + DELIMITER_WIDTH;
if app.config.show_receipts {
Expand Down

0 comments on commit 942eb4b

Please sign in to comment.