mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vrepl, term: return cursor to the top-left corner in vrepl after clear (#7600)
This commit is contained in:
@@ -146,7 +146,7 @@ fn run_repl(workdir string, vrepl_prefix string) {
|
||||
continue
|
||||
}
|
||||
if r.line == 'clear' {
|
||||
term.erase_display('2')
|
||||
term.erase_clear()
|
||||
continue
|
||||
}
|
||||
if r.line == 'help' {
|
||||
|
||||
Reference in New Issue
Block a user