Proper clear line text for Cygwin

This commit is contained in:
Mitchell Hashimoto 2013-04-07 13:48:00 -07:00
parent 162239d2cd
commit 5fe8cbb083
2 changed files with 3 additions and 1 deletions

View File

@ -55,6 +55,8 @@ BUG FIXES:
- Assume Cygwin has a TTY for asking for input. [GH-1430]
- Expand Cygwin paths to Windows paths for calls to VBoxManage and
for VirtualBox shared folders.
- Output the proper clear line text for shells in Cygwin when
reporting dynamic progress.
## 1.1.6 (April 3, 2013)

View File

@ -113,7 +113,7 @@ module Vagrant
def clear_line
reset = "\r"
reset += "\e[0K" unless Util::Platform.windows?
reset += "\e[0K" if Util::Platform.windows? && !Util::Platform.cygwin?
info(reset, :new_line => false)
end