Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of whitespace since windows color codes are fixed #6323

Closed
JorritSalverda opened this issue Apr 25, 2016 · 7 comments
Closed

Lots of whitespace since windows color codes are fixed #6323

JorritSalverda opened this issue Apr 25, 2016 · 7 comments
Labels
bug core waiting-response An issue/pull request is waiting for a response from the community windows

Comments

@JorritSalverda
Copy link

Since color codes in the output have been fixed for windows - not sure if related - after each "Creating..." line in the output 10-20 lines of whitespace are outputted. I'm running the terraform commands from the cygwin bash prompt included in https://chocolatey.org/packages/git.install.

Terraform Version

Terraform v0.6.15

Affected Resource(s)

google_compute_instance
template_file.development

Expected Behavior

At most a single whitespace line should be added.

Actual Behavior

More than 10 whitespace lines are added between console output log messages.

Steps to Reproduce

  1. change something in your terraform config that forces new items to be created
  2. terraform apply
@jen20
Copy link
Contributor

jen20 commented Apr 25, 2016

Hi @JorritSalverda! I must admit I had never tested this in Cygwin, and it's quite likely that it was already correctly interpreting the standard ASCII terminal codes. Can you confirm whether this also happens using a normal command prompt (or Powershell) as well?

@jen20
Copy link
Contributor

jen20 commented Apr 25, 2016

As an additional diagnostic step - can you verify whether the same whitepsace occurs if you specify the -no-color flag?

@PetaPetaPeta
Copy link

I am experiencing the same issue with cmder(https://github.com/cmderdev/cmder) which is based on ConEmu.
It is not whitespace lines that are being added. By highlighting them I can see the expected text. The issue occurs because the font color of some of the lines are identical with that of the background color. Even if I change the background color the color of the text changes along with it.

@PetaPetaPeta
Copy link

I believe the issue was introduced by this pull request: #5718

@apparentlymart
Copy link
Contributor

Hi all! Sorry for the long silence here.

I've been trying to reproduce this in various scenarios on Windows but have been unable to. Can someone confirm that this is still occurring on Terraform 0.9? If you're still seeing it, it would help to know what version of Windows you are running... I only have Windows 10 available to test with right now.

@apparentlymart apparentlymart added the waiting-response An issue/pull request is waiting for a response from the community label May 3, 2017
@apparentlymart
Copy link
Contributor

While I was working recently on another Windows-specific Terraform issue I wasn't able to reproduce the problem of text being displayed the same color as the background, at least in the default command prompt with a black background.

I'm going to close this out, since it appears that it got fixed somewhere along the line. Please let me know if anyone is still seeing this issue on recent versions of Terraform (0.9 or above) and is willing to help me try to reproduce this.

@ghost
Copy link

ghost commented Apr 13, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug core waiting-response An issue/pull request is waiting for a response from the community windows
Projects
None yet
Development

No branches or pull requests

4 participants