Skip to content

curses: editing of a real unicode line is broken #187

Open
@ikanobori

Description

@ikanobori

=== version ===

$ bpython -V
bpython version 0.9.7.1 on top of Python 2.6.6
(C) 2008-2010 Bob Farrell, Andreas Stuehrk et al. See AUTHORS for detail.

=== In order to reproduce ===

Start a bpython session.
input those random chars, or paste them

a = u"ㅇㄹ호ㅓㅏ"

Do NOT press . Now, use the left arrow key to go to the beginning of the line, and type "123456789".

=== What you get ===

6789a = u"ㅇ1ㄹ2호3ㅓ4ㅏ5"

=== mitigation ===
Bug filed for the record mainly, as I hear that curses is being deprecated in favor of urwid, which works fine.


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions