summaryrefslogtreecommitdiffstats
path: root/src/run.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-05-27 21:11:19 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-05-27 21:14:27 -0400
commit4e00e82c62ded6e531f173914a68984307974323 (patch)
tree51c73862e8076736adf90f901240d11f7a2e62d5 /src/run.rs
parent35579905606926893d4e7c0f3f58096c5b581444 (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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run.rs b/src/run.rs
index 1b2295e..2757230 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -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)