diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-05-27 21:11:19 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-05-27 21:14:27 -0400 |
commit | 4e00e82c62ded6e531f173914a68984307974323 (patch) | |
tree | 51c73862e8076736adf90f901240d11f7a2e62d5 /src/run.rs | |
parent | 35579905606926893d4e7c0f3f58096c5b581444 (diff) |
move updating page state to cursor_move only
- refactor page state to take an end to prevent
blank views on init
- move functions out of JoshutoPanel into ui.rs
- create a struct for configuring how to display content
- new type JoshutoHistory
- rename display_options to display_menu
Diffstat (limited to 'src/run.rs')
-rw-r--r-- | src/run.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ fn recurse_get_keycommand(keymap: &JoshutoKeymap) -> Option<&Box<JoshutoCommand> display_vec.sort(); win.move_to_top(); - ui::display_options(&win, &display_vec); + ui::display_menu(&win, &display_vec); ncurses::doupdate(); ncurses::wgetch(win.win) |