fix: align SSH menu entries before fzf selection
This commit is contained in:
+1
-1
@@ -166,7 +166,7 @@ const tuiMenu = async () => {
|
||||
records += ` | ${host.user} | ${host.port}`;
|
||||
});
|
||||
try {
|
||||
return await $`echo "${records}" | fzf -e --layout=reverse --with-nth=2,3,4,5,6 --accept-nth=1 --delimiter="|"`.text();
|
||||
return await $`echo "${records}" | column -t -s "|" -o "|" | fzf -e --layout=reverse --with-nth=2,3,4,5,6 --accept-nth=1 --delimiter="|"`.text();
|
||||
} catch (error) {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user