mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-13 03:59:23 +02:00
...
This commit is contained in:
@@ -414,7 +414,7 @@ func (self *Handler) scroll_to_next_match(backwards, include_current_match bool)
|
||||
delta *= -1
|
||||
}
|
||||
pos := self.scroll_pos
|
||||
if self.logical_lines.IncrementScrollPosBy(&pos, offset) == 0 {
|
||||
if offset != 0 && self.logical_lines.IncrementScrollPosBy(&pos, offset) == 0 {
|
||||
return false
|
||||
}
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user