When augmenting the input using ansi escape sequences to add color, the output is incorrect.
Example program:-
import boxea
s = u'''
+-------+-------+
+ \033[31mhello\033[0m | \033[31mworld\033[0m |
+-------+-------+'''
print(boxea.ascii_to_box(s))
Expected output:-
┌───────┬───────┐
│ hello │ world │
└───────┴───────┘
Actual output:-
┌───────────────╴
│ hello │ world │
└───────────────╴