johnnovak / illwill

A curses inspired simple cross-platform console library for Nim
Do What The F*ck You Want To Public License
398 stars 27 forks source link

Unicode Full-Width Characters #35

Closed forthlee closed 1 year ago

forthlee commented 1 year ago

Incorrect position of VertLine caused by writing Unicode Full-Width Characters

tb.drawRect(0, 0, 40, 5)
tb.write(2, 1, fgWhite, "您好!")
┌───────────────────────────────────────┐                                                                                                                           
│ 您好!                                   │                                                                                                                           
│ Press ESC or Q to quit                │                                                                                                                           
│ ═════════════════════════════════════ │                                                                                                                           
│                                       │                                                                                                                           
└───────────────────────────────────────┘ 
johnnovak commented 1 year ago

Duplicate of https://github.com/johnnovak/illwill/issues/32, so closing. Unfortunately working on illwill and adding such features to it is not one of my priorities right now.