[Groonga-commit] groonga/groonga at a852f77 [master] groonga: ensure displaying prompt without libedit

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Dec 26 17:09:25 JST 2014


Kouhei Sutou	2014-12-26 17:09:25 +0900 (Fri, 26 Dec 2014)

  New Revision: a852f773851b58415368ea6e82f532c6c32c1721
  https://github.com/groonga/groonga/commit/a852f773851b58415368ea6e82f532c6c32c1721

  Message:
    groonga: ensure displaying prompt without libedit

  Modified files:
    src/groonga.c

  Modified: src/groonga.c (+1 -0)
===================================================================
--- src/groonga.c    2014-12-26 10:16:37 +0900 (8f93d1f)
+++ src/groonga.c    2014-12-26 17:09:25 +0900 (86bcdbb)
@@ -216,6 +216,7 @@ read_next_line(grn_ctx *ctx, grn_obj *buf)
     rc = line_editor_fgets(ctx, buf);
 #else
     fprintf(stderr, "> ");
+    fflush(stderr);
     rc = grn_text_fgets(ctx, buf, stdin);
 #endif
   } else {
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index