From 02cfc41aa227703bd7ad16e4b597adac60c3d036 Mon Sep 17 00:00:00 2001 From: chris west Date: Sun, 13 Nov 2022 22:03:31 -0800 Subject: [PATCH] theme the cursor --- src/menu.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/menu.rs b/src/menu.rs index af1f6b9..54906a2 100644 --- a/src/menu.rs +++ b/src/menu.rs @@ -462,7 +462,8 @@ impl Menu { } let (x, y) = self.screen_coords(self.link)?; Some(format!( - "{}\x1b[97;1m*\x1b[0m{}", + "{}{}*\x1b[0m{}", + self.config.read().unwrap().theme.ui_cursor, terminal::Goto(x, y), terminal::HideCursor ))