Fix window refresh.

The window refresh does not work at all. When the mainloop exits, nothing
is done to refresh the current window.

Fix this by sending to ourself a SIGWINCH signal, so the display engine
will automatically catch the signal and refresh the current window.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2 files changed