-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
早知道有这个项目我就不用自己写了啊 #7
Comments
哈,我也参考了你的,发现调用一些外部库做界面,有点麻烦,最重要的是颜色还不支持,有点受不了 |
我当时怕用curses或者ncurses自己写太费劲,就用的框架。后来发现框架也确实有坑爹的地方,比方说不够灵活,参考资料少之类的。 颜色不支持具体指的是什么?是终端的颜色还是字体的颜色? |
一行可以用多种颜色,貌似curses没有这种方法 |
我没用过curses,不过感觉应该不难吧,毕竟显示颜色无非就是输出个 \033[0;1;5;31m 这类的转义字符串而已 https://github.com/bluetomlee/NetEase-MusicBox 这个就是用curses写的,看起来也不错 |
额,试过了,转义字符在curses里原样输出,所以就自己造个轮子~~ |
那看来只能自己写了,urwid框架在颜色的显示上也不是特别好用 |
项目主给力,比我做的精致多了
The text was updated successfully, but these errors were encountered: