terminaltables icon indicating copy to clipboard operation
terminaltables copied to clipboard

Characters issue with SingleTable

Open matthieumarrast opened this issue 9 months ago • 0 comments

With SingleTable we face two cases where the display is wrong (it produces characters like "^(0l^(B") - with given example example1.py:

  • in gitlab-ci pipeline job log:
+Jetta SportWagen------+--------------------------+
| Platform | Years     |                    Notes |
+----------+-----------+--------------------------+
| Mk5      | 2007-2009 | The Golf Mk5 Variant was |
|          |           |      introduced in 2007. |
| MKVI     | 2009-2013 |   Might actually be Mk5. |
+----------+-----------+--------------------------+
(0l(BJetta SportWagen(0qqqqqqwqqqqqqqqqqqqqqqqqqqqqqqqqqk(B
(0x(B Platform (0x(B Years     (0x(B                    Notes (0x(B
(0tqqqqqqqqqqnqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqu(B
(0x(B Mk5      (0x(B 2007-2009 (0x(B The Golf Mk5 Variant was (0x(B
(0x(B          (0x(B           (0x(B      introduced in 2007. (0x(B
(0x(B MKVI     (0x(B 2009-2013 (0x(B   Might actually be Mk5. (0x(B
(0mqqqqqqqqqqvqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqj(B
╔Jetta SportWagen══════╦══════════════════════════╗
║ Platform ║ Years     ║                    Notes ║
╠══════════╬═══════════╬══════════════════════════╣
║ Mk5      ║ 2007-2009 ║ The Golf Mk5 Variant was ║
║          ║           ║      introduced in 2007. ║
║ MKVI     ║ 2009-2013 ║   Might actually be Mk5. ║
╚══════════╩═══════════╩══════════════════════════╝
  • using watch command
Every 10,0s: python example1.py

+Jetta SportWagen------+--------------------------+
| Platform | Years     |                    Notes |
+----------+-----------+--------------------------+
| Mk5	   | 2007-2009 | The Golf Mk5 Variant was |
|          |           |      introduced in 2007. |
| MKVI     | 2009-2013 |   Might actually be Mk5. |
+----------+-----------+--------------------------+

(0l(BJetta SportWagen(0qqqqqqwqqqqqqqqqqqqqqqqqqqqqqqqqqk(B
(0x(B Platform (0x(B Years     (0x(B                    Notes (0x(B
(0tqqqqqqqqqqnqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqu(B
(0x(B Mk5      (0x(B 2007-2009 (0x(B The Golf Mk5 Variant was (0x(B
(0x(B          (0x(B           (0x(B      introduced in 2007. (0x(B
(0x(B MKVI     (0x(B 2009-2013 (0x(B   Might actually be Mk5. (0x(B
(0mqqqqqqqqqqvqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqj(B

╔Jetta SportWagen══════╦══════════════════════════╗
║ Platform ║ Years     ║                    Notes ║
╠══════════╬═══════════╬══════════════════════════╣
║ Mk5	   ║ 2007-2009 ║ The Golf Mk5 Variant was ║
║          ║           ║      introduced in 2007. ║
║ MKVI     ║ 2009-2013 ║   Might actually be Mk5. ║
╚══════════╩═══════════╩══════════════════════════╝

matthieumarrast avatar Nov 27 '23 17:11 matthieumarrast