mirror of
https://github.com/veeso/termscp.git
synced 2026-06-08 22:28:37 +02:00
Selected file has now colourful background, instead of foreground, for a better readability
This commit is contained in:
@@ -16,7 +16,8 @@ Released on 13/12/2020
|
|||||||
- Possibility to abort file transfers
|
- Possibility to abort file transfers
|
||||||
- Enhancements:
|
- Enhancements:
|
||||||
- File explorer:
|
- File explorer:
|
||||||
- when file index is at the end of the list, moving down will set the current index to the first element and viceversa.
|
- When file index is at the end of the list, moving down will set the current index to the first element and viceversa.
|
||||||
|
- Selected file has now colourful background, instead of foreground, for a better readability.
|
||||||
- Keybindings:
|
- Keybindings:
|
||||||
- `E`: Delete file (Same as `DEL`); added because some keyboards don't have `DEL` (hey, that's my MacBook Air's keyboard!)
|
- `E`: Delete file (Same as `DEL`); added because some keyboards don't have `DEL` (hey, that's my MacBook Air's keyboard!)
|
||||||
- `Ctrl+C`: Abort transfer process
|
- `Ctrl+C`: Abort transfer process
|
||||||
|
|||||||
@@ -191,7 +191,8 @@ impl FileTransferActivity {
|
|||||||
.start_corner(Corner::TopLeft)
|
.start_corner(Corner::TopLeft)
|
||||||
.highlight_style(
|
.highlight_style(
|
||||||
Style::default()
|
Style::default()
|
||||||
.fg(Color::Yellow)
|
.fg(Color::Black)
|
||||||
|
.bg(Color::LightYellow)
|
||||||
.add_modifier(Modifier::BOLD),
|
.add_modifier(Modifier::BOLD),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -231,7 +232,8 @@ impl FileTransferActivity {
|
|||||||
.start_corner(Corner::TopLeft)
|
.start_corner(Corner::TopLeft)
|
||||||
.highlight_style(
|
.highlight_style(
|
||||||
Style::default()
|
Style::default()
|
||||||
.fg(Color::LightBlue)
|
.bg(Color::LightBlue)
|
||||||
|
.fg(Color::Black)
|
||||||
.add_modifier(Modifier::BOLD),
|
.add_modifier(Modifier::BOLD),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user