Display nicks with hashed color

This commit is contained in:
Joscha 2022-07-02 17:23:30 +02:00
parent 37d10821a4
commit 11422801b0
8 changed files with 92 additions and 6 deletions

View file

@ -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)
}
}