문제

Is it possible to get the current background colour of the terminal window? I'm attempting to dim some of the output in my display, but this only seems to work if I set the background colour, and I'd like to continue to use the same background colour that is currently set.

올바른 솔루션이 없습니다

다른 팁

That would be window.getbkgd.

Return the given window’s current background character/attribute pair.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top