mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Improved color match
This commit is contained in:
@@ -272,7 +272,7 @@ impl AuthActivity {
|
|||||||
fn draw_remote_address(&self) -> Paragraph {
|
fn draw_remote_address(&self) -> Paragraph {
|
||||||
Paragraph::new(self.address.as_ref())
|
Paragraph::new(self.address.as_ref())
|
||||||
.style(match self.selected_field {
|
.style(match self.selected_field {
|
||||||
InputField::Address => Style::default().fg(Color::Yellow),
|
InputField::Address => Style::default().fg(Color::Cyan),
|
||||||
_ => Style::default(),
|
_ => Style::default(),
|
||||||
})
|
})
|
||||||
.block(
|
.block(
|
||||||
@@ -288,7 +288,7 @@ impl AuthActivity {
|
|||||||
fn draw_remote_port(&self) -> Paragraph {
|
fn draw_remote_port(&self) -> Paragraph {
|
||||||
Paragraph::new(self.port.as_ref())
|
Paragraph::new(self.port.as_ref())
|
||||||
.style(match self.selected_field {
|
.style(match self.selected_field {
|
||||||
InputField::Port => Style::default().fg(Color::Cyan),
|
InputField::Port => Style::default().fg(Color::Yellow),
|
||||||
_ => Style::default(),
|
_ => Style::default(),
|
||||||
})
|
})
|
||||||
.block(Block::default().borders(Borders::ALL).title("Remote port"))
|
.block(Block::default().borders(Borders::ALL).title("Remote port"))
|
||||||
|
|||||||
Reference in New Issue
Block a user