summaryrefslogtreecommitdiff
path: root/src/html.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/html.cpp')
-rw-r--r--src/html.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/html.cpp b/src/html.cpp
index f4278ca..23a765a 100644
--- a/src/html.cpp
+++ b/src/html.cpp
@@ -43,6 +43,11 @@ html::clear_cache( )
{
clear();
wrap::system_message( CLRHTML );
+
+#ifdef NCURSES
+
+ print_cached( 0 );
+#endif
}
string
@@ -146,5 +151,18 @@ html::online_list( user *p_user, map<string,string> &map_params )
}
//*>>
+#ifdef NCURSES
+void
+html::print_cached( int i_docs )
+{
+ if ( !wrap::NCUR->is_ready() )
+ return;
+
+ mvprintw( NCUR_CACHED_DOCS_X, NCUR_CACHED_DOCS_Y, "Docs: %d ", i_docs);
+ refresh();
+}
+
+#endif
+
#endif