Add getWinsize function
Fmt