core: clear line with \033[K

This commit is contained in:
Mitchell Hashimoto 2014-01-23 13:22:10 -08:00
parent 00530303fb
commit 0e9cac5b07
1 changed files with 2 additions and 1 deletions

View File

@ -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