Commits

Lin Jen-Shin committed 67db164

yes! this is exactly what i want

  • Participants
  • Parent commits 045b900

Comments (0)

Files changed (1)

File ext/readline_buffer_insert_ext/readline_buffer_insert_ext.c

 static VALUE readline_buffer_insert_ext(VALUE self, VALUE str){
   rb_secure(4);
   StringValue(str);
+
   rl_insert_text(RSTRING_PTR(str));
+  rl_redisplay();
+
   return rb_locale_str_new_cstr(rl_line_buffer);
 }