Fix scrolling with selection outside of vimode
This commit is contained in:
parent
1a8cd172e5
commit
1ddd3118dd
|
@ -635,9 +635,11 @@ impl<'a, T: EventListener, A: ActionContext<T>> Processor<'a, T, A> {
|
|||
term.vi_mode_cursor.point.col = absolute.col;
|
||||
|
||||
// Update selection
|
||||
let point = term.vi_mode_cursor.point;
|
||||
if !self.ctx.selection_is_empty() {
|
||||
self.ctx.update_selection(point, Side::Right);
|
||||
if term.mode().contains(TermMode::VI) {
|
||||
let point = term.vi_mode_cursor.point;
|
||||
if !self.ctx.selection_is_empty() {
|
||||
self.ctx.update_selection(point, Side::Right);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue