enter key in terminal scrolls down
@@ -236,6 +236,10 @@ fn toggle_visual(&mut self, visual_mode: VisualMode) {
}
pub fn send_keypress(&mut self, key: &KeyEvent) {
+ let mut raw = self.terminal.raw.lock();
+ let term = &mut raw.term;
+ term.scroll_display(Scroll::Bottom);
+ term.vi_mode_cursor.point.line = term.bottommost_line();
if let Some(command) = LapceTerminalData::resolve_key_event(key) {
self.terminal
.proxy
