Only delete lines under cursor if not `None`

history_view
Tyler Goodlet 2022-09-11 17:33:57 -04:00
parent f7c0ee930a
commit b734af6dd0
1 changed files with 11 additions and 11 deletions

View File

@ -219,7 +219,7 @@ class LineEditor(Struct):
lines = self._order_lines.pop(uuid)
if lines:
cursor = self.godw.get_cursor()
if cursor:
for line in lines:
# if hovered remove from cursor set
hovered = cursor._hovered