os_type icon indicating copy to clipboard operation
os_type copied to clipboard

WSL Support

Open sergeysova opened this issue 7 years ago • 5 comments

sergeysova avatar Sep 25 '18 15:09 sergeysova

@sergeysova hi!

Can you elaborate a bit what you have in mind with WSL support?

schultyy avatar Sep 25 '18 17:09 schultyy

@schultyy Ability to know is an application running under WSL.

os_type::is_wsl()

You can use https://github.com/sindresorhus/is-wsl

sergeysova avatar Sep 26 '18 14:09 sergeysova

Hmm I see. I'm currently not actively developing this library. If this is a feature that would help you I encourage you to send a pull request for this :)

schultyy avatar Sep 28 '18 05:09 schultyy

Please, add labels to issue

sergeysova avatar Sep 29 '18 10:09 sergeysova

Here is a rust implementation I wrote some time ago: https://crates.io/crates/wsl. Easy to either depend on, or just copy the code to this project.

Dentosal avatar Aug 09 '19 09:08 Dentosal