Skip to content

Commit e472481

Browse files
authored
Merge pull request #763 from NoisyCoil/json-no-separator
Do not print separators in JSON output
2 parents 84ff1a3 + b5007b7 commit e472481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/view.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ impl View {
569569
let mut line = "{".to_string();
570570
let len_column = self.columns.len();
571571
for (j, c) in self.columns.iter().enumerate() {
572-
if c.visible {
572+
if c.visible && c.kind != ConfigColumnKind::Separator {
573573
let text = c.column.display_json(*pid);
574574
line.push_str(&text);
575575
if j != len_column - 1 {

0 commit comments

Comments
 (0)