It would be helpful if you could explain your problem more explicitly. What are you doing in your program or what is the purpose of it?
Maybe you can show us a minimal working example and be more precisely where your error happens.
What kind of Window size do you want to increase? Are there more lines for the error code?
Or did you already solve it? If yes, what did you do?