diff --git a/pulse-ui/src/widget/scroll.rs b/pulse-ui/src/widget/scroll.rs index ef93d34..be6511e 100644 --- a/pulse-ui/src/widget/scroll.rs +++ b/pulse-ui/src/widget/scroll.rs @@ -28,7 +28,7 @@ impl Widget for ScrollText { impl ScrollState { pub fn get_selected(&self, index: usize) -> &'static str { - if index == self.0 { "\x1b[32m" } else { "" } + if index == self.0 { "\x1b[4m\x1b[1m" } else { "\x1b[1m" } } pub fn scroll(&self, index: usize, title: String, text: String) -> ScrollText { diff --git a/src/terminal/main.rs b/src/terminal/main.rs index 3dfc51c..1bc6008 100644 --- a/src/terminal/main.rs +++ b/src/terminal/main.rs @@ -276,7 +276,7 @@ async fn main() -> tokio::io::Result<()> { pulse_ui::run(|ctx| { client.use_app(PulseTradeApp { command: ctx.use_state(InputState::new()), - scroll: ctx.use_state(ScrollState(0, [0; 7])), + scroll: ctx.use_state(ScrollState(1, [0; 7])), watch_list: ctx.use_state(Vec::new()), active_positions: ctx.use_state(Vec::new()), signals: ctx.use_state(Vec::new()),