Skip to content

Commit

Permalink
Merge pull request #582 from matclab/581-unicode-lineart-bug
Browse files Browse the repository at this point in the history
Convert unicode bytes to utf-8 strings
  • Loading branch information
dbarnett authored Aug 23, 2024
2 parents d58d465 + cf37ab1 commit 14710ab
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions gcalcli/printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@
'bte': '\033(0\x76\033(B',
'ute': '\033(0\x77\033(B'},
'unicode': {
'hrz': b'\xe2\x94\x80',
'vrt': b'\xe2\x94\x82',
'lrc': b'\xe2\x94\x98',
'urc': b'\xe2\x94\x90',
'ulc': b'\xe2\x94\x8c',
'llc': b'\xe2\x94\x94',
'crs': b'\xe2\x94\xbc',
'lte': b'\xe2\x94\x9c',
'rte': b'\xe2\x94\xa4',
'bte': b'\xe2\x94\xb4',
'ute': b'\xe2\x94\xac'},
'hrz': '\u2500',
'vrt': '\u2502',
'lrc': '\u2518',
'urc': '\u2510',
'ulc': '\u250c',
'llc': '\u2514',
'crs': '\u253c',
'lte': '\u251c',
'rte': '\u2524',
'bte': '\u2534',
'ute': '\u252c'},
'ascii': {
'hrz': '-',
'vrt': '|',
Expand Down

0 comments on commit 14710ab

Please sign in to comment.