-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Incorrect windows handling of line wraps #41
Comments
You can do that too. "git blame" it. |
I linked the thread where the change was originally discussed, and the PR is here. What I'm trying to get across is that this doesn't appear to be correct anymore. |
Just because you cannot reproduce doesn’t mean it’s not a problem anymore. I think some more investigation is needed. |
Not for a second claiming it's the one true solution for all windows versions. But I have done as much due dilligence by trying on several machines with different windows versions. What further steps can I help with so we can progress? |
I've tried to recreate the original issue on the following node versions: 4.9.1 (unable to understand destructuring so breaks) on Windows 10 (release: 1903) And all of them exhibit the correct behavior with the windows specific logic removed. Can @Jameskmonger shed any further light on the original issue & versions to recreate? |
@herecydev This is the original issue: I will try to reproduce this on Windows 10 v1903 later |
I don't have v1903, but I'm on v1803 and can see that after deleting the windows-specific code the issue doesn't present itself anymore. |
Thanks for the info! I found the original issue but had no idea what version of Windows you were using at the time that exhibited the problem. Is it possible it was < Windows 10? |
@herecydev It was definitely Windows 10 that had the issue, but obviously a version from 2 years ago. |
@Jameskmonger Thanks very much! @sindresorhus is this enough info to make something actionable? |
@herecydev If removing the Windows-specific code fixes your issue, and it doesn't reintroduce my old issue on relatively-recent versions of Windows, I think a PR just removing that windows-specific code will work |
@Jameskmonger I've already put that together here |
In this line of code you are clearly trying to cater for some specific windows issue. However this is not the case:
Causes:
Hopefully you can see the premature line wrap that's occurring.
Can you please rethink why the addition was made here. I have seen on 4 different windows machines the same incorrect behavior.
The text was updated successfully, but these errors were encountered: