bubkoo / ascii-progress

🍓 Ascii progress-bar(s) in the terminal.
MIT License
207 stars 21 forks source link

is this a unix only package? #1

Open silcowitz opened 8 years ago

silcowitz commented 8 years ago

on windows 10 you get

PS C:\Repos\grazper.platform\grazper.platform.node> npm install ascii-progress

...

..\src\pos.cc(6): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory

...

bubkoo commented 8 years ago

@silcowitz I will try to fix this.

bubkoo commented 8 years ago

@silcowitz I have update the dep get-cursor-position. You can try it again.

silcowitz commented 8 years ago

termios.h doesn't seem to exist on windows either.

this rather dated link talks about it http://stackoverflow.com/questions/933745/what-is-the-windows-equivalent-to-the-capabilities-defined-in-sys-select-h-and-t

I guess there is some kind of equivalent for windows, at least when using windows power shell?

bubkoo commented 8 years ago

@silcowitz I have no idea to resolve it. If you have any solution please let me know.

bubkoo commented 7 years ago

try v1.0.5

Mart-Bogdan commented 6 years ago

@bubkoo I can report that it works on current Windows 10 with VisualStudio installed