mcabber/src/screen.c
changeset 997 d0d0cd9e39c4
parent 996 f4d6570e2628
child 1037 f7ef8003fc35
--- a/mcabber/src/screen.c	Thu Nov 02 21:59:15 2006 +0100
+++ b/mcabber/src/screen.c	Thu Nov 02 22:34:52 2006 +0100
@@ -2841,6 +2841,8 @@
   refresh_inputline();
 
   if (!lock_chatstate) {
+    // Set chat state to composing (1) if the user is currently composing,
+    // i.e. not an empty line and not a command line.
     if (inputLine[0] == 0 || inputLine[0] == COMMAND_CHAR)
       set_chatstate(0);
     else