add resize_term after initscr to display.cpp

Need to resize the terminal according to the acutal widow size.
Otherwise,windows can't be draw properly.