Skip to content

Commit b9028f9

Browse files
Alexander Antonovrdementi
authored andcommitted
Fix displaying binary codes in the terminal
1 parent 0996eae commit b9028f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pcm-iio-pmu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ string build_pci_header(const PCIDB & pciDB, uint32_t column_width, const struct
5555
for (auto& part : p.parts_no) {
5656
s += std::to_string(part) + ", ";
5757
}
58-
s += "\b\b ";
58+
s.erase(s.size() - 2);
5959
}
6060

6161
/* row with data */

0 commit comments

Comments
 (0)