yamlfixer icon indicating copy to clipboard operation
yamlfixer copied to clipboard

🪟 Testing on windows 🪟

Open adriens opened this issue 4 years ago • 7 comments

adriens avatar Mar 17 '22 02:03 adriens

Install process on windows

First, on windows, install process is slightly different :

python -m pip install yamlfixer-opt-nc

👉 (and not `python3``)

I'm dropping you a PR to fix that on the README âš¡

adriens avatar Mar 17 '22 02:03 adriens

Here it is to install on 🪟 cf #42

adriens avatar Mar 17 '22 02:03 adriens

DOS Windows experience

it works but no colors :

image

adriens avatar Mar 17 '22 02:03 adriens

This is to be expected. Use the Powershell terminal instead, and it should work if your version of Windows is recent.

See https://en.wikipedia.org/wiki/ANSI_escape_code#DOS,_OS/2,_and_Windows

tamere-allo-peter avatar Mar 17 '22 02:03 tamere-allo-peter

@adriens And that's why having both --summary and --colorsummary was a good idea :)

Not sure if it's possible to detect the terminal type when under Windows...

tamere-allo-peter avatar Mar 17 '22 02:03 tamere-allo-peter

On Powershell :

image

adriens avatar Mar 17 '22 03:03 adriens

Still not clean on the install process and python3 symlink

image

adriens avatar Mar 17 '22 03:03 adriens