pub fn update_buffer_title(&mut self) {
            let BufferActions { outp_ctx, buf, nvim_conn: NeovimConnection { nvim_actions, .. }, .. } = self;
            let (page_icon_default, page_icon_key) = if outp_ctx.input_from_pipe { (" |", "page_icon_pipe") } else { (" >", "page_icon_redirect") };
            let mut buf_title = nvim_actions.get_var_or(page_icon_key, page_icon_default);
            if let Some(ref buf_name) = outp_ctx.opt.name {
                buf_title.insert_str(0, buf_name);
            }
            nvim_actions.update_buffer_title(&buf, &buf_title);
        }
/// This function updates buffer title depending on -n value.
/// Icon symbol is received from neovim side and is prepended to the left of buffer title
This function updates buffer title depending on -n value.
Icon symbol is received from neovim side and is prepended to the left of buffer title
This function updates buffer title depending on - n value . Icon symbol is received from neovim side and is prepended to the left of buffer title
pub fn update_buffer_title(&mut self) {
            let BufferActions { outp_ctx, buf, nvim_conn: NeovimConnection { nvim_actions, .. }, .. } = self;
            let (page_icon_default, page_icon_key) = if outp_ctx.input_from_pipe { (" |", "page_icon_pipe") } else { (" >", "page_icon_redirect") };
            let mut buf_title = nvim_actions.get_var_or(page_icon_key, page_icon_default);
            if let Some(ref buf_name) = outp_ctx.opt.name {
                buf_title.insert_str(0, buf_name);
            }
            nvim_actions.update_buffer_title(&buf, &buf_title);
        }
pub fn update_buffer_title ( & mut self ) { let BufferActions { outp_ctx , buf , nvim_conn : NeovimConnection { nvim_actions , .. } , .. } = self ; let ( page_icon_default , page_icon_key ) = if outp_ctx . input_from_pipe { ( " " , " " ) } else { ( " " , " " ) } ; let mut buf_title = nvim_actions . get_var_or ( page_icon_key , page_icon_default ) ; if let Some ( ref buf_name ) = outp_ctx . opt . name { buf_title . insert_str ( 0 , buf_name ) ; } nvim_actions . update_buffer_title ( & buf , & buf_title ) ; }
This function updates buffer title depending on -n value.
This function updates buffer title depending on - n value .
&mut self
&mut self