开发者

Curses for PHP on Windows

Is there a Windows equivalent of ncurses for PHP?

I've created a CLI script and want to display various statistics (currently processed record, completion percentage etc.) in a nice way, without outputting loads and heaps o开发者_StackOverflowf text to the cmd.exe window.

The ncurses extension doesn't work on Windows.


ncurses only works for unix-like environments so you can use cygwin but [Link outdated] looks promising. Check it out and let me know!

(Edit Apr 2016: removed the link as it's out of date and clicking on it takes you down a nasty path.)


There is pdcurses which I believe works in a windows console window. The aren't any PHP bindings so you would need to build your own.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜