summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-sysinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ncurses/nc-sysinfo.c')
-rw-r--r--ui/ncurses/nc-sysinfo.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/ncurses/nc-sysinfo.c b/ui/ncurses/nc-sysinfo.c
index bde8b33..ac8ece7 100644
--- a/ui/ncurses/nc-sysinfo.c
+++ b/ui/ncurses/nc-sysinfo.c
@@ -104,7 +104,11 @@ void sysinfo_screen_update(struct sysinfo_screen *screen,
const struct system_info *sysinfo)
{
sysinfo_screen_populate(screen, sysinfo);
- text_screen_draw(&screen->text_scr);
+
+ if (screen->text_scr.cui->help_screen)
+ screen->text_scr.need_update = true;
+ else
+ text_screen_draw(&screen->text_scr);
}
struct sysinfo_screen *sysinfo_screen_init(struct cui *cui,
OpenPOWER on IntegriCloud