Display nicks with hashed color
This commit is contained in:
parent
37d10821a4
commit
11422801b0
8 changed files with 92 additions and 6 deletions
|
|
@ -20,7 +20,7 @@ fn msg_to_block<M: Msg>(frame: &mut Frame, size: Size, msg: &M, indent: usize) -
|
|||
let content_width = content_width as usize;
|
||||
let lines = toss::split_at_indices(&content, &frame.wrap(&content, content_width));
|
||||
let lines = lines.into_iter().map(|s| s.to_string()).collect::<Vec<_>>();
|
||||
Block::msg(msg.id(), indent, msg.time(), nick, lines)
|
||||
Block::msg(msg.id(), indent, msg.time(), nick, msg.nick_style(), lines)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue