mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-22 21:05:00 +00:00
Fix breakline bug, again
This commit is contained in:
parent
45d15bf03a
commit
1a6cc7a596
@ -66,7 +66,7 @@ impl<'a> View<'a> {
|
||||
let clean = line.trim_end_matches(|c: char| c.is_whitespace());
|
||||
|
||||
if clean.len() > 0 {
|
||||
rustbox.print(0, index, rustbox::RB_NORMAL, Color::White, Color::Black, format!("{}\n", line).to_string().as_str());
|
||||
rustbox.print(0, index, rustbox::RB_NORMAL, Color::White, Color::Black, line);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user