diff --git a/TODO.md b/TODO.md index f961f1f..ba413e4 100644 --- a/TODO.md +++ b/TODO.md @@ -4,17 +4,10 @@ # Enhancements * format the label of functions to include the signature * probably will invole string munging, sticking the `.name` into the the `.value` of the def in the right spot -* handle impls of traits defined in other crates -* make the color scheme less ugly * implement some form of live search, where you can start typing and rsbrowse selects the thing * initially, within the current pane would be a nice start * eventually, within the current crate is probably good enough * globally is probably a bad idea -* show something when you've gotten to a leaf node - * documentation - * source code, using span info? - * should this be another pane, or should it go in the .on_select popup? - * if popup, relegate the current debug info somewhere else, it's still useful * show visibility info (pub / pub(crate) / not pub / etc) * probably not possible with current RLS data * could maybe hack it by parsing the source code span? diff --git a/src/ui.rs b/src/ui.rs index 8091322..7d6c9ae 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -206,11 +206,11 @@ pub fn run(browser: Browser) { .with(|theme| { use cursive::theme::{ BaseColor::{Black, White, Green}, - Color::{Light, Dark}, + Color::{Light, Dark, Rgb}, PaletteColor, }; theme.palette[PaletteColor::Background] = Dark(Black); - theme.palette[PaletteColor::View] = Dark(Black); + theme.palette[PaletteColor::View] = Rgb(32,32,32); theme.palette[PaletteColor::Shadow] = Light(Black); theme.palette[PaletteColor::Primary] = Dark(White); theme.palette[PaletteColor::Highlight] = Dark(Green);