summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_pinyin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_pinyin.cpp b/tests/test_pinyin.cpp
index 958e2b9..82f0c6c 100644
--- a/tests/test_pinyin.cpp
+++ b/tests/test_pinyin.cpp
@@ -52,6 +52,9 @@ int main(int argc, char * argv[]){
prefixbuf[strlen(prefixbuf) - 1] = '\0';
}
+ fprintf(stdout, "pinyin:");
+ fflush(stdout);
+
if ((read = getline(&linebuf, &linesize, stdin)) == -1)
break;