fn show_current_link_info(&mut self) {
        let mut current_view = String::new();
        {
            let mut app = self.app.write().expect("Could not get write lock on app");
            app.call_on_name("main", |v: &mut ui::layout::Layout| {
                if let Some(v) = v.get_current_view() {
                    current_view = v;
                }
            });
        }
        match current_view.as_str() {
            "content" => self.show_current_link_info_gopher(),
            "gemini_content" => self.show_current_link_info_gemini(),
            _ => (),
        }
    }
/// If the cursor in the current view is on a link, show
/// a status message in the statusbar.
If the cursor in the current view is on a link, show
a status message in the statusbar.
If the cursor in the current view is on a link show a status message in the statusbar .
fn show_current_link_info(&mut self) {
        let mut current_view = String::new();
        {
            let mut app = self.app.write().expect("Could not get write lock on app");
            app.call_on_name("main", |v: &mut ui::layout::Layout| {
                if let Some(v) = v.get_current_view() {
                    current_view = v;
                }
            });
        }
        match current_view.as_str() {
            "content" => self.show_current_link_info_gopher(),
            "gemini_content" => self.show_current_link_info_gemini(),
            _ => (),
        }
    }
fn show_current_link_info ( & mut self ) { let mut current_view = String :: new ( ) ; { let mut app = self . app . write ( ) . expect ( " " ) ; app . call_on_name ( " " , | v : & mut ui :: layout :: Layout | { if let Some ( v ) = v . get_current_view ( ) { current_view = v ; } } ) ; } match current_view . as_str ( ) { " " => self . show_current_link_info_gopher ( ) , " " => self . show_current_link_info_gemini ( ) , _ => ( ) , } }
If the cursor in the current view is on a link, show
a status message in the statusbar.
If the cursor in the current view is on a link show a status message in the statusbar .
&mut self
&mut self