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

Write-Host adding multiple line breaks #672

Closed
ferventcoder opened this issue Mar 26, 2016 · 2 comments
Closed

Write-Host adding multiple line breaks #672

ferventcoder opened this issue Mar 26, 2016 · 2 comments

Comments

@ferventcoder
Copy link
Member

Related to #674

@ferventcoder
Copy link
Member Author

Write-Host calls Write and then WriteLine

@ferventcoder
Copy link
Member Author

Need to implement #181 #184 first.

ferventcoder added a commit that referenced this issue Mar 29, 2016
Write-Host was double printing, but it appears that it was due to
calling Write, and then an empty WriteLine, both of which the
PoshHostUserInterface were calling a log entry which writes out each as
a line. Instead log just to the file and print with `Console.Write` and
`Console.WriteLine`.  Using `Console` calls solves the issue of not
seeing the colorization overrides, so those will be displayed properly.
ferventcoder added a commit that referenced this issue Mar 29, 2016
* stable:
  (GH-460) Amended Template
  (GH-623) Extract Nuspec on Install
  (GH-674)(GH-672) Color Overrides / Fix Write-Host
  (GH-181) log selection to log file only
  (GH-181)(GH-184) Short prompt/Prompt character
  (GH-675) Template include LICENSE/VERIFICATION
  (GH-258) Rename zip to detector.zip
  (GH-572) Fix: The handle is invalid - Output Redirection
  (maint) comments
  (GH-667) Provide How To Add Profile Manually
  (GH-667) PowerShell Custom Host - Set $Profile
  (GH-666) pass Write-ChocolateyError message param
  (GH-673) Ensure Get-BinRoot Warning is Shown
  (GH-666) setup logs colored write-host w/fallback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants