comparison mcabber/src/screen.c @ 997:d0d0cd9e39c4

Cosmetics & comments
author Mikael Berthe <mikael@lilotux.net>
date Thu, 02 Nov 2006 22:34:52 +0100
parents f4d6570e2628
children f7ef8003fc35
comparison
equal deleted inserted replaced
996:f4d6570e2628 997:d0d0cd9e39c4
2839 if (completion_started && key != 9 && key != KEY_RESIZE) 2839 if (completion_started && key != 9 && key != KEY_RESIZE)
2840 scr_end_current_completion(); 2840 scr_end_current_completion();
2841 refresh_inputline(); 2841 refresh_inputline();
2842 2842
2843 if (!lock_chatstate) { 2843 if (!lock_chatstate) {
2844 // Set chat state to composing (1) if the user is currently composing,
2845 // i.e. not an empty line and not a command line.
2844 if (inputLine[0] == 0 || inputLine[0] == COMMAND_CHAR) 2846 if (inputLine[0] == 0 || inputLine[0] == COMMAND_CHAR)
2845 set_chatstate(0); 2847 set_chatstate(0);
2846 else 2848 else
2847 set_chatstate(1); 2849 set_chatstate(1);
2848 if (chatstate) 2850 if (chatstate)