diff mcabber/src/screen.c @ 1187:16abe7ec3056

Fix a conflict between verbatim multiline mode and the key binding system
author Mikael Berthe <mikael@lilotux.net>
date Fri, 20 Apr 2007 17:14:38 +0200
parents 0158bd8ca9d6
children be06bbe7e449
line wrap: on
line diff
--- a/mcabber/src/screen.c	Fri Apr 20 16:35:39 2007 +0200
+++ b/mcabber/src/screen.c	Fri Apr 20 17:14:38 2007 +0200
@@ -2632,7 +2632,7 @@
 {
   // Validate current multi-line
   if (scr_get_multimode())
-    process_command(mkcmdstr("msay send"));
+    process_command(mkcmdstr("msay send"), TRUE);
 }
 
 //  which_row()
@@ -2891,7 +2891,7 @@
 {
   if (!Curses) return;
   // Leave multi-line mode
-  process_command(mkcmdstr("msay abort"));
+  process_command(mkcmdstr("msay abort"), TRUE);
   // Same as Ctrl-g, now
   scr_cancel_current_completion();
   scr_end_current_completion();
@@ -3084,7 +3084,7 @@
     boundcmd_locale = from_utf8(boundcmd);
     cmdline = g_strdup_printf(mkcmdstr("%s"), boundcmd_locale);
     scr_CheckAutoAway(TRUE);
-    if (process_command(cmdline))
+    if (process_command(cmdline, TRUE))
       return 255; // Quit
     g_free(boundcmd_locale);
     g_free(cmdline);