Skip to content

Commit

Permalink
fix: #45 ensuring that background styling is applied correctly to the…
Browse files Browse the repository at this point in the history
… message line
  • Loading branch information
sminez committed Oct 29, 2024
1 parent 0b76fc5 commit eb55faf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ui/tui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ impl Tui {
if !msg.is_empty() && delta < status_timeout {
let width = self.screen_cols - msg.len() - 10;
buf.push_str(&format!(
"{}{}{msg}{pending:>width$}",
"{}{}{msg}{pending:>width$} ",
Style::Fg(cs.fg),
Style::Bg(cs.bg)
));
Expand Down Expand Up @@ -313,10 +313,10 @@ impl Tui {

lines.push(format!(
"{}{}{}{}{}",
mb.prompt,
mb.input,
Style::Fg(cs.fg),
Style::Bg(cs.bg),
mb.prompt,
mb.input,
Cursor::ClearRight
));

Expand Down

0 comments on commit eb55faf

Please sign in to comment.