Crate termbg

Crate termbg 

Source

Modules§

__mock_MockEventReader
__mock_MockEventReader_EventReader

Structs§

CrosstermEventReader
A struct to implement real-world use of the event reader, as opposed to use in testing.
MockEventReader
A trait to allow mocking of the event reader for testing purposes.
Rgb
16bit RGB color

Enums§

Error
Error
Terminal
Terminal
Theme
Background theme

Traits§

EventReader
A trait to allow mocking of the event reader for testing purposes.

Functions§

latency
get terminal latency
rgb
get background color by RGB
terminal
get detected terminal
theme
get background color by Theme