Python3 curses doesn't recognize curses.resizeterm()

322 Views Asked by At

I am running Python on a Fedora PC(redhat linux), and ran IDLE from the terminal via python3 -m idlelib.idle. However, attempting to run curses.resizeterm(40,40) results in the error

File "/home/quowlord/Documents/ASCIIengineALPHA_1.py", line 75, in <module>
curses.resize_term(40,40)
AttributeError: module 'curses' has no attribute 'resize_term'

(Other curses calls worked, including ones that affected the terminal, such as curses.start_color() and curses.initscr().)

I don't know what to try next, as I already tried reinstalling python.

0

There are 0 best solutions below