core: clear line with \033[K
This commit is contained in:
parent
00530303fb
commit
0e9cac5b07
|
@ -153,7 +153,8 @@ module Vagrant
|
||||||
end
|
end
|
||||||
|
|
||||||
def clear_line
|
def clear_line
|
||||||
reset = "\r"
|
# See: http://en.wikipedia.org/wiki/ANSI_escape_code
|
||||||
|
reset = "\r\033[K"
|
||||||
|
|
||||||
info(reset, :new_line => false)
|
info(reset, :new_line => false)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue