allow setting cursor color

This commit is contained in:
Dima Rets 2023-06-08 15:32:32 +01:00
parent 9062cce140
commit 0eb08d218c
3 changed files with 37 additions and 6 deletions

View file

@ -11,7 +11,7 @@ pub use fontdb::{Family, Stretch, Style, Weight};
use rangemap::RangeMap;
/// Text color
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
#[derive(Clone, Copy, Debug, PartialOrd, Ord, Eq, Hash, PartialEq)]
pub struct Color(pub u32);
impl Color {