mirror of
https://github.com/veeso/termscp.git
synced 2025-12-06 17:15:35 -08:00
Fixed SSH key list showing {hostname} at {username} instead of {username} at {hostname}
This commit is contained in:
@@ -126,7 +126,7 @@ impl SetupActivity {
|
||||
.iter_ssh_keys()
|
||||
.map(|x| {
|
||||
let (addr, username, _) = self.config().get_ssh_key(x).ok().unwrap().unwrap();
|
||||
format!("{} at {}", addr, username)
|
||||
format!("{} at {}", username, addr)
|
||||
})
|
||||
.collect();
|
||||
assert!(self
|
||||
|
||||
Reference in New Issue
Block a user