mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +00:00
apply rounded corners to script boxes as well
This commit is contained in:
parent
d588451e99
commit
314a358d4c
|
@ -53,6 +53,7 @@ impl FloatContent for RunningCommand {
|
|||
// Display a block indicating the command is running
|
||||
Block::default()
|
||||
.borders(Borders::ALL)
|
||||
.border_set(ratatui::symbols::border::ROUNDED)
|
||||
.title_top(Line::from("Running the command....").centered())
|
||||
.title_style(Style::default().reversed())
|
||||
.title_bottom(Line::from("Press Ctrl-C to KILL the command"))
|
||||
|
@ -80,6 +81,7 @@ impl FloatContent for RunningCommand {
|
|||
|
||||
Block::default()
|
||||
.borders(Borders::ALL)
|
||||
.border_set(ratatui::symbols::border::ROUNDED)
|
||||
.title_top(title_line.centered())
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user