1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

readline: fix input echo issue on musl-based systems

This commit is contained in:
pancake 2020-05-10 06:39:31 +02:00 committed by GitHub
parent ba3a631954
commit 76eec7b6ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,6 +114,7 @@ pub fn (r mut Readline) read_line_utf8(prompt string) ?ustring {
print(r.prompt)
for {
C.fflush(C.stdout)
c := r.read_char()
a := r.analyse(c)
if r.execute(a, c) {