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