comparison mcabber/mcabber/screen.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 3e39a336a992
children e8cebf5fd36c
comparison
equal deleted inserted replaced
1944:098b7b5b4854 1945:518740bcd78b
3531 // Validate current multi-line 3531 // Validate current multi-line
3532 if (multimode) 3532 if (multimode)
3533 process_command(mkcmdstr("msay send"), TRUE); 3533 process_command(mkcmdstr("msay send"), TRUE);
3534 } 3534 }
3535 3535
3536 void readline_insert(const char *toinsert)
3537 {
3538 if (!toinsert || !*toinsert) return;
3539
3540 scr_insert_text(toinsert);
3541 check_offset(0);
3542 }
3543
3536 // which_row() 3544 // which_row()
3537 // Tells which row our cursor is in, in the command line. 3545 // Tells which row our cursor is in, in the command line.
3538 // -2 -> normal text 3546 // -2 -> normal text
3539 // -1 -> room: nickname completion 3547 // -1 -> room: nickname completion
3540 // 0 -> command 3548 // 0 -> command