diff options
author | Blaž Hrastnik | 2021-02-09 06:40:30 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-02-09 06:40:47 +0000 |
commit | d4b85ce18d8a9bb535eaeae9e2c7421ef81c81e9 (patch) | |
tree | f68c8fc1d4996f861af2c7966ac8c49dba4aa174 /helix-term/src/application.rs | |
parent | 755632f23113ccff66390de1e2c3476a51886b00 (diff) |
popup: wip work on completion popups
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r-- | helix-term/src/application.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index d307456e..dd7778dd 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -70,7 +70,7 @@ impl Application { let area = self.terminal.size().unwrap(); compositor.render(area, self.terminal.current_buffer_mut(), &mut cx); - let pos = compositor.cursor_position(area, &mut cx); + let pos = compositor.cursor_position(area, &editor); self.terminal.draw(); self.terminal.set_cursor(pos.col as u16, pos.row as u16); @@ -112,7 +112,7 @@ impl Application { .handle_event(Event::Resize(width, height), &mut cx) } Some(Ok(event)) => self.compositor.handle_event(event, &mut cx), - Some(Err(x)) => panic!(x), + Some(Err(x)) => panic!("{}", x), None => panic!(), }; |