The reason why i haven't posted it in the game programming section is, i am not creating a game.
I want to redraw the current screen (even forcefully) something analogous to refresh() function call in NCurses.
Any attempt to help me is greatly appreciated as i have searched google for hours and cant find anything like it.