TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Marriage of ffmpeg and terminal TUIs, notcurses 1.1.0

1 点作者 dankamongmen超过 5 年前
I just cut 1.1.0 of my new(ish) TUI library, notcurses. I started work on it back in November, and it&#x27;s now IMHO pretty fit for general use.<p>1.1.0 demo: https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=-H1WkopWJNM<p>github: https:&#x2F;&#x2F;github.com&#x2F;dankamongmen&#x2F;notcurses<p>wiki: https:&#x2F;&#x2F;nick-black.com&#x2F;dankwiki&#x2F;index.php&#x2F;Notcurses<p>notcurses is an obvious intellectual descendant of NCURSES, which Thomas E. Dickey has masterfully developed and maintained for decades. notcurses breaks away from the prelapsarian X&#x2F;Open Curses API, but its interface will be quite familiar to experienced NCURSES programmers. For new TUI developers, I hope that notcurses has fewer gotchas than NCURSES. notcurses supports 24-bit DirectColor RGB as its primary color specification (though palette indexed color is also supported, for its bandwidth benefits).<p>Almost anything you can do in NCURSES can be done in notcurses, though a few things (most especially menus) must currently be handrolled. In addition, there&#x27;s rich support for various types of transparency&#x2F;color blending, image rendering, fades, giant virtual planes, z-axis depths of thousands of planes, and other good stuff.<p>Experimental Python wrappers are included in this release. I hope to cut C++ and Rust wrappers soon.<p>Please take a look, and give the demo a local run if you&#x27;ve the time. Feedback and&#x2F;or bug reports would both be invaluable.<p>If you&#x27;d like to see a real app using notcurses, my growlight tool has been adapted to it:<p>https:&#x2F;&#x2F;github.com&#x2F;dankamongmen&#x2F;growlight<p>This was several thousand lines of NCURSES UI code. Switching it to notcurses was a generally painless procedure of a few hours.

暂无评论

暂无评论