Windows 上的 PHP 诅咒

发布于 2024-09-02 06:03:05 字数 154 浏览 3 评论 0原文

PHP 中是否有与 ncurses 相当的 Windows 版本?

我创建了一个 CLI 脚本,希望以一种很好的方式显示各种统计信息(当前处理的记录、完成百分比等),而不向 cmd.exe 窗口输出负载和文本堆。

ncurses 扩展不适用于 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 of text to the cmd.exe window.

The ncurses extension doesn't work on Windows.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

月下伊人醉 2024-09-09 06:03:05

ncurses 仅适用于类 UNIX 环境,因此您可以使用 cygwin,但 [链接已过时] 看起来很有前途。检查一下并告诉我!

(2016 年 4 月编辑:删除了该链接,因为它已过时,点击它会让您走上一条肮脏的道路。)

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.)

So尛奶瓶 2024-09-09 06:03:05

pdcurses 我相信它可以在 Windows 控制台窗口中使用。它们没有任何 PHP 绑定,因此您需要构建自己的绑定。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文