home · contact · privacy
Remove never-read attribute setting. master
authorChristian Heller <c.heller@plomlompom.de>
Tue, 21 Oct 2025 01:00:06 +0000 (03:00 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 21 Oct 2025 01:00:06 +0000 (03:00 +0200)
src/ircplom/tui_base.py

index e57f6989ef4e2ead81fc2bae64508f05fdb0666d..a936e8729abc2d91e20512a55faece8af3b1b842 100644 (file)
@@ -115,6 +115,7 @@ class _ScrollableWidget(_Widget):
 
 
 class _HistoryWidget(_ScrollableWidget):
+    _wrapped_idx_neg: int
     _y_pgscroll: int
     _UNSET_IDX_NEG: int = 0
     _UNSET_IDX_POS: int = -1
@@ -129,7 +130,6 @@ class _HistoryWidget(_ScrollableWidget):
         self._newest_read_history_idx_pos = self._UNSET_IDX_POS
         self._history_offset = 0
         self._history_idx_neg = self._UNSET_IDX_NEG
-        self._wrapped_idx_neg = self._UNSET_IDX_NEG
 
     def _add_wrapped(self, history_idx_pos: int, line: str) -> int:
         wrapped_lines = self._wrap(line)