From 0e9cac5b07876ef76d3163d653ac5a9cea4f84c2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 23 Jan 2014 13:22:10 -0800 Subject: [PATCH] core: clear line with \033[K --- lib/vagrant/ui.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/vagrant/ui.rb b/lib/vagrant/ui.rb index 72f44d968..9563af974 100644 --- a/lib/vagrant/ui.rb +++ b/lib/vagrant/ui.rb @@ -153,7 +153,8 @@ module Vagrant end def clear_line - reset = "\r" + # See: http://en.wikipedia.org/wiki/ANSI_escape_code + reset = "\r\033[K" info(reset, :new_line => false) end