pub fn focus_on_initial_buffer(&mut self) {
            let BufferActions { outp_ctx, nvim_conn: NeovimConnection { nvim_actions, initial_win_and_buf, .. }, .. } = self;
            if outp_ctx.inst_usage.is_enabled_but_focus_on_it_was_skipped() {
                return
            }
            if outp_ctx.opt.follow {
                nvim_actions.set_current_buffer_follow_output_mode();
            } else {
                nvim_actions.set_current_buffer_scroll_mode();
            }
            if outp_ctx.restore_initial_buf_focus.is_disabled() {
                return
            }
            nvim_actions.switch_to_window_and_buffer(&initial_win_and_buf);
            if outp_ctx.restore_initial_buf_focus.is_vi_mode_insert() {
                nvim_actions.set_current_buffer_insert_mode();
            }
        }
/// Sets cursor position on page buffer and on current buffer depending on -f, -b, and -B flags provided.
/// First if condition on this function ensures that it's really necessary to do any action,
/// to circumvent flicker with `page -I existed -b` and `page -I existed -B` invocations
Sets cursor position on page buffer and on current buffer depending on -f, -b, and -B flags provided.
First if condition on this function ensures that it's really necessary to do any action,
to circumvent flicker with `page -I existed -b` and `page -I existed -B` invocations
Sets cursor position on page buffer and on current buffer depending on - f - b and - B flags provided . First if condition on this function ensures that it ' s really necessary to do any action to circumvent flicker with ` page - I existed - b ` and ` page - I existed - B ` invocations
pub fn focus_on_initial_buffer(&mut self) {
            let BufferActions { outp_ctx, nvim_conn: NeovimConnection { nvim_actions, initial_win_and_buf, .. }, .. } = self;
            if outp_ctx.inst_usage.is_enabled_but_focus_on_it_was_skipped() {
                return
            }
            if outp_ctx.opt.follow {
                nvim_actions.set_current_buffer_follow_output_mode();
            } else {
                nvim_actions.set_current_buffer_scroll_mode();
            }
            if outp_ctx.restore_initial_buf_focus.is_disabled() {
                return
            }
            nvim_actions.switch_to_window_and_buffer(&initial_win_and_buf);
            if outp_ctx.restore_initial_buf_focus.is_vi_mode_insert() {
                nvim_actions.set_current_buffer_insert_mode();
            }
        }
pub fn focus_on_initial_buffer ( & mut self ) { let BufferActions { outp_ctx , nvim_conn : NeovimConnection { nvim_actions , initial_win_and_buf , .. } , .. } = self ; if outp_ctx . inst_usage . is_enabled_but_focus_on_it_was_skipped ( ) { return } if outp_ctx . opt . follow { nvim_actions . set_current_buffer_follow_output_mode ( ) ; } else { nvim_actions . set_current_buffer_scroll_mode ( ) ; } if outp_ctx . restore_initial_buf_focus . is_disabled ( ) { return } nvim_actions . switch_to_window_and_buffer ( & initial_win_and_buf ) ; if outp_ctx . restore_initial_buf_focus . is_vi_mode_insert ( ) { nvim_actions . set_current_buffer_insert_mode ( ) ; } }
Sets cursor position on page buffer and on current buffer depending on -f, -b, and -B flags provided.
Sets cursor position on page buffer and on current buffer depending on - f - b and - B flags provided .
&mut self
&mut self