changeset 1945 | 518740bcd78b |
parent 1942 | 3e39a336a992 |
child 1948 | e8cebf5fd36c |
--- 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