-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
Description
Bug report
import curses
def bug(scr):
scr.addstr("first line\n")
scr.addstr("second line")
scr.refresh()
scr.getch()
scr.insstr(0, 5, "X\nXX")
scr.refresh()
scr.getch()
curses.wrapper(bug)
Using Python 3.11.3 and 3.11.4 on Apple M2 Mac (Mac OS Ventura 13.4, iTerm and Terminal.app), Python 3.10.6 on Intel Mac (Mac OS Monterey 12.6, iTerm) produce:
Python 3.11.2 on Intel Ubuntu 22.04 (in GNOME terminal) produces correct behavior. An equivalent C program using ncurses directly on the above Macs (in the same terminal) also produces correct behavior.
Metadata
Metadata
Assignees
Labels
Projects
Status
Done