Closed WishCow closed 4 years ago
It only draws where you tell it to. It has no notion of "window" in the terms of GUI frameworks like X Window System or window managers like KWin. You are not actually "moving a window", just setting other coordinates to count from when drawing.
About the solution, manual .clear() should do.
As a rule of thumb for pa{n,}curses, it's good to clear your terminal before each iteration of your drawing loop.
This issue should be closed, as this is not a bug.
Okay, that wasn't clear, thanks.
Sorry if this is a very basic question, this is the first time I'm using ncurses.
When I create a subwindow, and I move it, the window is still visible in its old location, it effectively looks like I have two windows.
This causes the screen to look like this:
I was expecting the "hello" window to only show up once, is there something I'm missing?