comparison mcabber/mcabber/commands.c @ 1945:518740bcd78b

Add /iline iline_insert (Hermitifier) This patch from Hermitifier, slightly modified, should close ticket 70.
author Mikael Berthe <mikael@lilotux.net>
date Thu, 03 Mar 2011 19:29:33 +0100
parents 11bda6d8daab
children 69f03eabe514
comparison
equal deleted inserted replaced
1944:098b7b5b4854 1945:518740bcd78b
3804 retval_for_cmds = readline_accept_line(TRUE); 3804 retval_for_cmds = readline_accept_line(TRUE);
3805 } else if (!strcasecmp(arg, "compl_cancel")) { 3805 } else if (!strcasecmp(arg, "compl_cancel")) {
3806 readline_cancel_completion(); 3806 readline_cancel_completion();
3807 } else if (!strcasecmp(arg, "compl_do")) { 3807 } else if (!strcasecmp(arg, "compl_do")) {
3808 readline_do_completion(); 3808 readline_do_completion();
3809 } else {
3810 char **paramlst;
3811 char *subcmd;
3812
3813 paramlst = split_arg(arg, 2, 0); // subcmd, arg
3814 subcmd = *paramlst;
3815 arg = *(paramlst+1);
3816
3817 if (!strcasecmp(subcmd, "iline_insert")) {
3818 readline_insert(arg);
3819 }
3820
3821 free_arg_lst(paramlst);
3809 } 3822 }
3810 } 3823 }
3811 3824
3812 static void do_screen_refresh(char *arg) 3825 static void do_screen_refresh(char *arg)
3813 { 3826 {