pyte icon indicating copy to clipboard operation
pyte copied to clipboard

Overwriting full-width characters

Open superbobry opened this issue 8 years ago • 0 comments

Full-width character support in pyte is incomplete. While pyte is able to draw and wrap full-width characters, it cannot overwrite them.

Example:

>>> screen = pyte.Screen(2, 1)
>>> screen.draw("コ")
>>> screen.display
['コ']
>>> screen.set_mode(pyte.modes.IRM)  # Enable overwrite.
>>> screen.cursor_to_column(screen.columns)
>>> screen.draw("x")
>>> screen.display
['コ']

superbobry avatar Mar 26 '17 21:03 superbobry