A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/com.rs')
-rw-r--r--src/com.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com.rs b/src/com.rs
index 3af3be3..e5e80f6 100644
--- a/src/com.rs
+++ b/src/com.rs
@@ -9,7 +9,7 @@ use itertools::Itertools;
use lsp_types::*;
use crate::FG;
-use crate::text::{color, color_, set_a};
+use crate::text::{col, color, color_, set_a};
#[derive(Debug)]
pub struct Complete {
@@ -174,7 +174,7 @@ fn r(
indices: &[u32],
to: &mut Vec<Cell>,
) {
- let bg = if selected { color(b"#262d3b") } else { color(b"#1c212b") };
+ let bg = if selected { col!("#262d3b") } else { col!("#1c212b") };
let ds: Style = Style { bg: bg, color: FG, flags: 0 };
let d: Cell = Cell { letter: None, style: ds };