|
|
|
@ -193,7 +193,10 @@ const getViews = screen => {
|
|
|
|
|
height: tableHeight,
|
|
|
|
|
columnsWidth: [ 50, 50 ],
|
|
|
|
|
headers: [ 'Host', 'URI' ],
|
|
|
|
|
data: hosts.map(host => [ host.name, `${host.username}@${host.address}:${host.port}` ])
|
|
|
|
|
data: hosts.map(host => [
|
|
|
|
|
host.chain ? `${host.name} (via ${host.chain.split(',').join(' -> ')})` : host.name,
|
|
|
|
|
`${host.username}@${host.address}:${host.port}`
|
|
|
|
|
])
|
|
|
|
|
});
|
|
|
|
|
selectButton.on('press', () => {
|
|
|
|
|
hostsTable.focus();
|
|
|
|
|