简体   繁体   English

Python curses库中的curses.COLORS是什么?

[英]What is curses.COLORS in Python curses library?

I would like to know what curses.COLORS is in the curses module.我想知道curses模块中的curses.COLORS是什么。 I didn't find any explanation on what exactly it is in the documentation .我没有在文档中找到关于它到底是什么的任何解释。

From what I figured out it is something like the max number of colors your terminal supports.据我所知,它类似于您的终端支持的最大数量 colors。 Didn't look any closer.没有仔细看。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM