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

Revert "repl: readline line editing "

This reverts commit 1956c6f906.
This commit is contained in:
Alexander Medvednikov
2019-10-16 03:31:48 +03:00
parent 00fd1abf82
commit 66f36be7d0
5 changed files with 13 additions and 92 deletions

View File

@ -27,7 +27,7 @@ pub fn (r mut Readline) read_line_utf8(prompt string) ?ustring {
}
print(r.prompt)
r.current = os.get_raw_line().ustring()
r.current = os.get_line().ustring()
r.previous_lines[0] = ''.ustring()
r.search_index = 0