-
-
Notifications
You must be signed in to change notification settings - Fork 810
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
Windows Support #103
Comments
For the title characters, those are all hard-coded into the widgets themselves as unicode characters (i.e.: https://github.com/senorprogrammer/wtf/blob/bbdc860625ed45001bdc8bd737eb3643a5baba33/bamboohr/widget.go#L19).
|
Gotcha, I will see how it goes, thanks! |
@mxplusb is it possible to distribute a Windows binary if you have already built it, or would it need to built per machine? |
@Thorocaine depends on the license @senorprogrammer has, but once it's built, I'm sure it can get distributed by someone. :) |
If the MIT license doesn't support that (and I'm pretty sure it does), then I'll switch to a license that does. You should be able to distribute whatever you build. |
I did manage to get it working (mostly) in Windows Subsystem for Linux. |
@Thorocaine |
Is there an update on distributing Windows binaries? There isn't a Windows binary included in the current release. Are there maybe still activate tickets waiting for completion before distribution is possible? |
I just added a Windows target to the |
@senorprogrammer there are some changes coming in 1905 that implement much better Terminal support and might make it a bit more feasible to do natively. |
What does 1905 refer to? |
1905 is the next release of Windows, comes out in May, it was delayed from March and was supposed to be 1903. Windows 10 is now released as Windows <2-digit year><2-digit month>, so 1809 is September 2018, 1903 is March 2019, 1905 would be May 2019. Very similar to the way Ubuntu is released. The changes coming in 1905 include ConPTY, which is a native pseudo TTY for Windows, and it has support for Unicode, which is great. There is also a new open source Windows terminal (github.com/Microsoft/Terminal) that will have first-class support for ConPTY, which is super useful, because it'll fix a lot of the unicode struggles which exist now. |
Ah cool. I don't have access to a Windows machine so any help that Windows users can provide in trying out WTF on Windows is much appreciated. |
Has anyone still paying attention to this thread tried to get WTF running under Windows r1905 per @mxplusb's comment above? I'd love to know if you've had any success. |
I can take a look at it later today (assuming I remember). |
Apparently I spoke too soon, it just panicked.
|
@doxxx can you try it in PSCore 6? |
That's really strange it flickers. @bitcrazed any reason you can think of that would cause an application to flicker on the default terminal? |
Sorry - tough to follow: What flickers and when? If you can repro, please find/file an issue in the Terminal repo: https://github.com/microsoft/terminal. Thx. |
The entire WTF UI visibly repaints once a second -- probably when the data displayed is updated. It also happens in bursts during startup, which lends credence to the on data update theory. This occurs for me in PowerShell 5 and 6 in both the normal Windows console and the new Windows Terminal, on Windows 10 1903. If I can figure out how to capture a video demonstrating it, I'll post it. |
So, this is interesting. I originally reported this bug from my work laptop, running Windows 10 Enterprise 1903. I just tried it at home on Windows 10 Home 1903 using PowerShell 5 in Windows Terminal, and it does not flicker. So there's something else at play here. |
I checked this on my Mac with If I remember, I will check on this either later tonight or tomorrow. Seems Windows-specific. I have a few theories but will have to do some digging and testing. |
I am seeing the flickering also.
|
So it looks like WTF cannot even be built on Windows anymore from v0.33.0 onwards 😢😢😢. My suspicion is e23cec2 has broken it due to Also creack/pty does not appear to support Windows correctly anyway (creack/pty#95) After reading through the comments something that struck me was the conflating of Shell, Terminal and Console. (yay for naming things!). e.g. Using PowerShell (the shell) in the newer Windows Terminal (which has the pty support). doxx did a good job differentiating that in their testing. Need to be careful of that.
|
TELL ME ABOUT IT! :) This is one of the reasons I wrote a multi-part blog series on the history, evolution, and internal architecture of the Windows command-line, concluding with the post announcing the new ConPTY. Alas, for naming, I often say: As per my prior suggestion (though I don't see this issue referenced in the Terminal repo right now) - if you're able to reliably repro this problem, please do file an issue in the Windows Terminal repo. This is where the team that owns the legacy Windows Console, the new Windows Terminal, and all of Windows' Command-line infrastructure live. If this is an issue with the Console/Terminal, as opposed, for example, to VT causing an expected full refresh, the team will be happy to work with you to figure out a fix, as schedules etc. allow.
HTH. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any news here? I don't see why there would be an issue on windows. I was using this before. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Great project! I'm a Windows guy, so naturally I tried it on Windows in PowerShell. Works for me with
go build -v -o wtf.exe
orgo install -v
since I didn't havemake
installed.There are some areas that do need fixing, but I wanted to start a top level issue with some of what I see out of the box with a vanilla config:
Makefile
only works on Linux.You can see some of the issues in the screenshot. If you can point me to where that code exists, I might be able to help make it work as intended on Windows.
The text was updated successfully, but these errors were encountered: