mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
UI improvements
This commit is contained in:
@@ -1998,7 +1998,7 @@ impl FileTransferActivity {
|
|||||||
/// Draw input popup
|
/// Draw input popup
|
||||||
fn draw_popup_input(&self, text: String) -> Paragraph {
|
fn draw_popup_input(&self, text: String) -> Paragraph {
|
||||||
Paragraph::new(self.input_txt.as_ref())
|
Paragraph::new(self.input_txt.as_ref())
|
||||||
.style(Style::default().fg(Color::Yellow))
|
.style(Style::default().fg(Color::White))
|
||||||
.block(Block::default().borders(Borders::ALL).title(text))
|
.block(Block::default().borders(Borders::ALL).title(text))
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2021,7 +2021,7 @@ impl FileTransferActivity {
|
|||||||
.block(Block::default().borders(Borders::ALL).title(text))
|
.block(Block::default().borders(Borders::ALL).title(text))
|
||||||
.gauge_style(
|
.gauge_style(
|
||||||
Style::default()
|
Style::default()
|
||||||
.fg(Color::Magenta)
|
.fg(Color::Green)
|
||||||
.bg(Color::Black)
|
.bg(Color::Black)
|
||||||
.add_modifier(Modifier::BOLD),
|
.add_modifier(Modifier::BOLD),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user