Proper clear line text for Cygwin
This commit is contained in:
parent
162239d2cd
commit
5fe8cbb083
|
@ -55,6 +55,8 @@ BUG FIXES:
|
||||||
- Assume Cygwin has a TTY for asking for input. [GH-1430]
|
- Assume Cygwin has a TTY for asking for input. [GH-1430]
|
||||||
- Expand Cygwin paths to Windows paths for calls to VBoxManage and
|
- Expand Cygwin paths to Windows paths for calls to VBoxManage and
|
||||||
for VirtualBox shared folders.
|
for VirtualBox shared folders.
|
||||||
|
- Output the proper clear line text for shells in Cygwin when
|
||||||
|
reporting dynamic progress.
|
||||||
|
|
||||||
## 1.1.6 (April 3, 2013)
|
## 1.1.6 (April 3, 2013)
|
||||||
|
|
||||||
|
|
|
@ -113,7 +113,7 @@ module Vagrant
|
||||||
|
|
||||||
def clear_line
|
def clear_line
|
||||||
reset = "\r"
|
reset = "\r"
|
||||||
reset += "\e[0K" unless Util::Platform.windows?
|
reset += "\e[0K" if Util::Platform.windows? && !Util::Platform.cygwin?
|
||||||
|
|
||||||
info(reset, :new_line => false)
|
info(reset, :new_line => false)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue