diff options
author | rabite <rabite@posteo.de> | 2019-03-15 14:22:05 +0100 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-03-15 14:29:23 +0100 |
commit | 297239c7c7cd9949f3f5d4efd03ba163ab3bd8d7 (patch) | |
tree | 49883c4fba910b6502456eb8164b313328b5bef1 /src/minibuffer.rs | |
parent | 370064387b6707a8b4b67ff9f55400a87b9c7356 (diff) |
log/foldview
Diffstat (limited to 'src/minibuffer.rs')
-rw-r--r-- | src/minibuffer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/minibuffer.rs b/src/minibuffer.rs index bf915aa..ac5c819 100644 --- a/src/minibuffer.rs +++ b/src/minibuffer.rs @@ -164,7 +164,7 @@ impl MiniBuffer { self.completions.clear(); self.last_completion = None; - self.get_core()?.screen.lock()?.cursor_hide().log(); + self.screen()?.cursor_hide().log(); match self.popup() { Err(HError::MiniBufferCancelledInput) => self.input_cancelled()?, @@ -476,7 +476,7 @@ impl Widget for MiniBuffer { ": ".len() + self.position; - let mut screen = self.get_core()?.screen.lock()?; + let mut screen = self.screen()?; let ysize = screen.ysize()?; screen.goto_xy(cursor_pos, ysize).log(); |