Mercurial > hg
diff mcabber/src/screen.c @ 129:03be1cc94560
[/trunk] Changeset 142 by mikael
* Do not enter chat mode when a command is entered.
author | mikael |
---|---|
date | Thu, 28 Apr 2005 12:22:34 +0000 |
parents | d3ee9abe9ca6 |
children | a27b22e3b3a1 |
line wrap: on
line diff
--- a/mcabber/src/screen.c Thu Apr 28 10:16:32 2005 +0000 +++ b/mcabber/src/screen.c Thu Apr 28 12:22:34 2005 +0000 @@ -789,6 +789,11 @@ doupdate(); } +inline void scr_set_chatmode(int enable) +{ + chatmode = enable; +} + // which_row() // Tells which row our cursor is in, in the command line. // -1 -> normal text @@ -982,13 +987,6 @@ check_offset(0); break; case '\n': // Enter - chatmode = TRUE; - if (current_buddy) - buddy_setflags(BUDDATA(current_buddy), ROSTER_FLAG_LOCK, TRUE); - if (inputLine[0] == 0) { - scr_ShowBuddyWindow(); - break; - } if (process_line(inputLine)) return 255; ptr_inputline = inputLine;