call-graph-cli 0.4.0

Interactive call and type hierarchy TUI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[derive(Clone, Debug, Default, Eq, PartialEq)]
pub struct HelpState {
    pub scroll: usize,
}

use super::App;

impl App {
    pub fn open_help(&mut self) {
        self.pending_key = None;
        self.help = Some(HelpState::default());
    }

    pub fn close_help(&mut self) {
        self.help = None;
    }
}