Enhancements to AWAY command.
[silc.git] / apps / silc / screen.c
index e20756c5a33448170e4c726d8b85cd1c80272f6f..3cbae77e3592e8dc777afd9e90572cb43590dd70 100644 (file)
@@ -26,6 +26,9 @@
 /*
  * $Id$
  * $Log$
+ * Revision 1.5  2000/07/19 09:19:05  priikone
+ *     Enhancements to AWAY command.
+ *
  * Revision 1.4  2000/07/10 05:38:08  priikone
  *     Fixed screen refresh.
  *
@@ -223,6 +226,9 @@ void silc_screen_print_bottom_line(SilcScreen screen, int win_index)
            SILC_SCREEN_MAX_CHANNEL_LEN : len);
   }
 
+  if (line->away)
+    strncat(buf, " (away)", 8);
+
   wattrset(screen->output_stat_line[win_index], A_REVERSE);
 
   for (i = 0; i < COLS - 10; i++)