diff options
author | Sanjay Singh Rawat <sanjay.rawat@linaro.org> | 2013-04-17 14:57:07 +0530 |
---|---|---|
committer | Sanjay Singh Rawat <sanjay.rawat@linaro.org> | 2013-04-17 16:06:23 +0530 |
commit | 83b37c3c2e20fffcdf53c546b6f0e287889cd451 (patch) | |
tree | 4abb885a4a8d096360c40bd230e45e9872923ba2 /display.c | |
parent | 9fe0c0521fd74387c4ca00b9c1b768762273502f (diff) | |
download | powerdebug-83b37c3c2e20fffcdf53c546b6f0e287889cd451.tar.gz |
handle winch signal
- handle winch to display window properly
- bug: https://bugs.launchpad.net/linaro-powerdebug/+bug/827828
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -137,6 +137,11 @@ int display_refresh_pad(int win) 0, 2, 0, maxy - 2, maxx); } +void sigwinch_handler(int signo) +{ + display_refresh(current_win, true); +} + static int display_show_unselection(int win, int line, bool bold) { if (mvwchgat(windata[win].pad, line, 0, -1, |