Mercurial > ~mikael > mcabber > hg
diff 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 |
line wrap: on
line diff
--- a/mcabber/mcabber/screen.c Sun Feb 27 19:47:39 2011 +0100 +++ b/mcabber/mcabber/screen.c Thu Mar 03 19:29:33 2011 +0100 @@ -3533,6 +3533,14 @@ process_command(mkcmdstr("msay send"), TRUE); } +void readline_insert(const char *toinsert) +{ + if (!toinsert || !*toinsert) return; + + scr_insert_text(toinsert); + check_offset(0); +} + // which_row() // Tells which row our cursor is in, in the command line. // -2 -> normal text