]> granicus.if.org Git - python/commit
Close #14223: Fix window.addch(curses.ACS_HLINE)
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 1 Sep 2012 13:00:34 +0000 (15:00 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 1 Sep 2012 13:00:34 +0000 (15:00 +0200)
commit9f16e44a479d9efdfd4315df93a9e83901ef96b5
tree378517003ed38549a8f431c1e0e09de928ad745f
parentdbf56c2ef396311e4997e4631ce9a701b0f151f2
Close #14223: Fix window.addch(curses.ACS_HLINE)

Fix window.addch() of the curses module for special characters like
curses.ACS_HLINE: the Python function addch(int) and addch(bytes) is now
calling the C function waddch()/mvwaddch() (as it was done in Python 3.2),
instead of wadd_wch()/mvwadd_wch(). The Python function addch(str) is still
calling the C function wadd_wch()/mvwadd_wch() if the Python curses is linked
to libncursesw.
Misc/NEWS
Modules/_cursesmodule.c