| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |
From: David Benjamin <davidben@MIT.EDU>
To: barnowl-dev@mit.edu
Date: Thu, 4 Nov 2010 11:59:17 -0400
Otherwise, ncurses tries to be clever and notices that nothing changed.
This makes ^L do something again in owl_window.
---
functions.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/functions.c b/functions.c
index 3e5b170..8f15eec 100644
--- a/functions.c
+++ b/functions.c
@@ -1262,7 +1262,10 @@ static void _dirty_everything(owl_window *w) {
void owl_function_full_redisplay(void)
{
+ /* Ask every widget to redraw itself. */
_dirty_everything(owl_window_get_screen());
+ /* Force ncurses to redisplay everything. */
+ clearok(stdscr, TRUE);
}
void owl_function_popless_text(const char *text)
--
1.7.3.1.g716de
| home | help | back | first | fref | pref | prev | next | nref | lref | last | post |