projects
/
platform
/
upstream
/
libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0569a1b
)
improves test_pinyin output
author
Peng Wu
<alexepico@gmail.com>
Mon, 8 Oct 2012 04:41:56 +0000
(12:41 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Mon, 8 Oct 2012 04:41:56 +0000
(12:41 +0800)
tests/test_pinyin.cpp
patch
|
blob
|
history
diff --git
a/tests/test_pinyin.cpp
b/tests/test_pinyin.cpp
index
958e2b9
..
82f0c6c
100644
(file)
--- 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;