fix: preserve tabs in -remote query output
This commit is contained in:
1 parent
91e269fe5c
commit
a127f13d58
1 file changed
+2
-1
@@ -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")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user