fix: preserve tabs in -remote query output

This commit is contained in:
valoq authored and GitHub committed 2026-11-05 22:28:29 +00:00
1 parent 91e269fe5c
commit a127f13d58
1 file changed
+2 -1
+2 -1
View File
@@ -350,7 +350,8 @@ Options:
if term.IsTerminal(int(os.Stdout.Fd())) {
lines := strings.Split(resp, "\n")
for i := range lines {
lines[i] = sanitizeName(lines[i])
// using sanitizePreview instead of sanitizeName here to preserve tabs for printed tables
lines[i] = sanitizePreview(lines[i])
}
resp = strings.Join(lines, "\n")
}