npcole / npyscreen

Automatically exported from code.google.com/p/npyscreen
Other
481 stars 109 forks source link

Long Word Line Breaking Error #78

Closed will-mei closed 5 years ago

will-mei commented 5 years ago

if the word is longer than the width of widget width the line breaking error apears.

line_breaking_error

at first I thought it was caused by the chinese character I used, even after I fix the width calculation error of Chinese char in wgtextbox.py, the problem is still, so I found out there is not \n inserted if the word is too long, and that cause the line breaking problem.

I suggest to define a new TextfieldBase widget, I am working on that but I need help.

will-mei commented 5 years ago

Fixed, I'll try to commit the code as soon as my project is finished.

npcole commented 5 years ago

That's very odd.

On Wed, Apr 17, 2019 at 8:09 AM will-mei notifications@github.com wrote:

Closed #78 https://github.com/npcole/npyscreen/issues/78.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/npcole/npyscreen/issues/78#event-2282518491, or mute the thread https://github.com/notifications/unsubscribe-auth/AB9ezxxs1ooPpQgL1aO7grhWDVHQbhK9ks5vhw8JgaJpZM4c0uId .