changeset 346:102fb74fc794

Set window title when running under PDCurses.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 23 Jun 2011 01:36:58 +0300
parents 1015c9a34a1e
children 34e3705b382c
files nnchat.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nnchat.c	Thu Jun 23 01:35:17 2011 +0300
+++ b/nnchat.c	Thu Jun 23 01:36:58 2011 +0300
@@ -1407,6 +1407,10 @@
         if (!initializeWindows())
             goto err_exit;
 
+#ifdef PDCURSES
+        PDC_set_title("NNChat v" NN_VERSION);
+#endif
+
         memset(chatWindows, 0, sizeof(chatWindows));
         chatWindows[0] = nn_window_new(NULL);
         currWin = chatWindows[0];