fix: align SSH menu entries before fzf selection

This commit is contained in:
2026-06-04 22:58:52 +02:00
parent ce563186cb
commit d8f8101d9e
+1 -1
View File
@@ -166,7 +166,7 @@ const tuiMenu = async () => {
records += ` | ${host.user} | ${host.port}`; records += ` | ${host.user} | ${host.port}`;
}); });
try { 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) { } catch (error) {
process.exit(1); process.exit(1);
} }