nschloe / termtables

:desktop_computer: Pretty tables in the terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Column alignment breaks with some Unicode characters

danieljuschus opened this issue · comments

tt.print([["a", "a"], [chr(129112), "a"]]) results in

┌───┬───┐
│ a │ a │
├───┼───┤
│ 🡘 │ a │
└───┴───┘

I have tested this with some other arrow characters.

Edit: Running this in the Gnome Terminal (instead of Pycharm) at least produces correct (i.e. continuous) borders, however the characters are still misaligned.

Running into the same issue, want to use emojis in the header.