summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6a76472)
raw | patch | inline | side by side (parent: 6a76472)
author | Max Kellermann <max@duempel.org> | |
Wed, 30 Sep 2009 05:47:26 +0000 (07:47 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Wed, 30 Sep 2009 05:47:26 +0000 (07:47 +0200) |
The ncurses initialization code should do the refresh() to clear the
terminal, while screen_init() should reveal the empty controls
(progress bar currently).
terminal, while screen_init() should reveal the empty controls
(progress bar currently).
src/ncu.c | patch | blob | history | |
src/screen.c | patch | blob | history |
diff --git a/src/ncu.c b/src/ncu.c
index 2b1721d6d171cb10d181c38460482e2d8a094873..08cb82006f5a7f1c927c14fb64d74ba7878242c1 100644 (file)
--- a/src/ncu.c
+++ b/src/ncu.c
if (options.enable_mouse)
mousemask(ALL_MOUSE_EVENTS, NULL);
#endif
+
+ refresh();
}
void
diff --git a/src/screen.c b/src/screen.c
index 6ab4a60285f6aa23c695b02816a5a2d91cfbda23..bfba41befec02897ae01897c14fcdd44ae5ad613 100644 (file)
--- a/src/screen.c
+++ b/src/screen.c
}
#endif
- refresh();
+ doupdate();
/* initialize screens */
screen_list_init(screen.main_window.w,