-
-
Notifications
You must be signed in to change notification settings - Fork 106
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 OS Support #34
Comments
Hello! I have looked into this and moving to crossterm is already on the list of things to do. There are a few things I wish to add beforehand but Windows support is definitely a priority for me because Termion isn't a very advanced library and is a huge limiting factor in terms of platform support, keybindings and efficiency overall. Hopefully I'll get Ox working on Windows within the next month or maybe even less if things go to plan (which they are as of now). Thank you for your interest 😄 |
WSL? |
Windows Subsystem for Linux, a feature allowing you install a Linux subsystem inside Windows that you can access through PowerShell |
I know what's WSL 🤣 🤣 🤣. I meant until there is an official Windows build, you can use WSL. |
And PowerShell does not belong here. |
I'll be working on this in the next week I'll keep you guys posted on how the migration to |
I've worked on it a bit and I have managed to completely replace |
Windows users can use the new Windows Terminal that does have true colors. |
Thank you @curlpipe ! ox 0.2.7 built successfuly on my Windows 10 machine
Although i do miss some fonts for it to render properly some utf-8 "icons", it runs, looks and feels nice and smooth under Windows Terminal within cmd.exe shell :) Alternative TTYs such as Git Bash's MinGW64 does not seem to appreciate it, but that's another story... I hope to have some time in the near future to look at those issues and maybe contribute. I've been wanting to learn Rust development since a year now ! Cheers! |
who uses it anyway ? 🤣 |
I 😄 |
@cdegalitt Great! You can change the status line and tab line format using the configuration file to remove or replace those unicode icons. You can see them in the new wiki which tells you how to change them. |
Hi,
I was really eager to try ox but wasn't able to compile it on my system.
It seems to be due to its dependency towards termion, which lacks for Windows support (as stated here). You can see my error log below :
error[E0433]: failed to resolve: unresolved import
--> C:\Users\cdeliquaire.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.5\src\lib.rs:24:9
|
24 | pub use sys::size::terminal_size;
| ^^^
| |
| unresolved import
| help: a similar path exists:
color::env::sys
Do you plan to support Windows OS someday ?
If so, It seems that some people/projects successfuly switched to crossterm instead of termion to gain true multi-platform terminal support, I don't know if it supports the whole feature set ox requires, but this could be a lead.
Thanks by advance.
The text was updated successfully, but these errors were encountered: