Skip to content

Commit

Permalink
fix drawing of line-endings-overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxxr committed Nov 26, 2023
1 parent 6e60df5 commit a885028
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/display/logical-line.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
(loop :for overlay :in overlays
:when (overlay-within-point-p overlay point)
:do (cond ((typep overlay 'line-endings-overlay)
(setf line-end-overlay overlay))
(when (same-line-p (overlay-end overlay) point)
(setf line-end-overlay overlay)))
((typep overlay 'line-overlay)
(let ((attribute (overlay-attribute overlay)))
(setf attributes
Expand Down

0 comments on commit a885028

Please sign in to comment.