fix: Properly find wrapped lines in history buffer
This commit is contained in:
parent
50f64d5981
commit
f24701e6e2
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ historybuf_init_line(HistoryBuf *self, index_type lnum, Line *l) {
|
|||
|
||||
bool
|
||||
historybuf_is_line_continued(HistoryBuf *self, index_type lnum) {
|
||||
return hb_line_is_continued(self, index_of(self, lnum + 1));
|
||||
return hb_line_is_continued(self, index_of(self, lnum));
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Reference in a new issue