diff options
Diffstat (limited to 'tests/test_pinyin.cpp')
-rw-r--r-- | tests/test_pinyin.cpp | 3 |
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; |