From: Christian Heller Date: Tue, 21 Oct 2025 01:00:06 +0000 (+0200) Subject: Remove never-read attribute setting. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bdb.prefix%7D%7D/do_day?a=commitdiff_plain;p=ircplom Remove never-read attribute setting. --- diff --git a/src/ircplom/tui_base.py b/src/ircplom/tui_base.py index e57f698..a936e87 100644 --- a/src/ircplom/tui_base.py +++ b/src/ircplom/tui_base.py @@ -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)