Windows上的PHP诅咒 [英] Curses for PHP on Windows
问题描述
Windows是否有等效于ncurses的PHP?
Is there a Windows equivalent of ncurses for PHP?
我已经创建了一个CLI脚本,并希望以一种不错的方式显示各种统计信息(当前处理的记录,完成百分比等),而无需在cmd.exe窗口中输出大量文本.
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 of text to the cmd.exe window.
ncurses扩展名在Windows上不起作用.
The ncurses extension doesn't work on Windows.
推荐答案
ncurses仅适用于类似Unix的环境,因此您可以使用cygwin,但[链接已过时]看起来很有希望.检查一下,让我知道!
ncurses only works for unix-like environments so you can use cygwin but [Link outdated] looks promising. Check it out and let me know!
(2016年4月由于链接已过期,因此删除了该链接,然后单击该链接将带您进入讨厌的路径.)
(Edit Apr 2016: removed the link as it's out of date and clicking on it takes you down a nasty path.)
这篇关于Windows上的PHP诅咒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!