when using the curses.newwin() command e.g.
curses.newwin(10, 10, 0, 0)
if i try to edit the integers to create a larger window the program terminates when I try to run it.
when using the curses.newwin() command e.g.
curses.newwin(10, 10, 0, 0)
if i try to edit the integers to create a larger window the program terminates when I try to run it.
As the comments have mentioned, you can't make a larger window than your parent terminal. If you're looking for a way to resize the terminal itself, consider something like this:
os.system("mode con cols=80 lines=60")
os.environ['COLS'] = "80"
os.environ['LINES'] = "60"
This will change the console size. You can change the size to whatever you like, just change cols and lines as needed. The first line sets the upper limit on the bottom two--you'll throw an error if one of the lower numbers is larger.