summaryrefslogtreecommitdiffstats
path: root/src/window
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-22 20:52:53 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-04-22 20:52:53 -0400
commit8f0ca37df04355de492b6c26e13999fef35975dd (patch)
treeaff2522fe2867c326c1627d6b19395f91cda7884 /src/window
parent4e81c3c76cd8c04aa2cf912c09817ca75dd27183 (diff)
code cleanup and use more functional code
Diffstat (limited to 'src/window')
-rw-r--r--src/window/panel.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/window/panel.rs b/src/window/panel.rs
index d1a7d5b..9189145 100644
--- a/src/window/panel.rs
+++ b/src/window/panel.rs
@@ -39,11 +39,9 @@ impl JoshutoPanel {
}
}
- #[inline]
pub fn move_to_top(&self) {
ncurses::top_panel(self.panel);
}
- #[inline]
pub fn queue_for_refresh(&self) {
ncurses::wnoutrefresh(self.win);
}