home
·
contact
·
privacy
projects
/
ircplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
554e4b1
)
Remove never-read attribute setting.
master
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 21 Oct 2025 01:00:06 +0000
(
03:00
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 21 Oct 2025 01:00:06 +0000
(
03:00
+0200)
src/ircplom/tui_base.py
patch
|
blob
|
history
diff --git
a/src/ircplom/tui_base.py
b/src/ircplom/tui_base.py
index e57f6989ef4e2ead81fc2bae64508f05fdb0666d..a936e8729abc2d91e20512a55faece8af3b1b842 100644
(file)
--- a/
src/ircplom/tui_base.py
+++ b/
src/ircplom/tui_base.py
@@
-115,6
+115,7
@@
class _ScrollableWidget(_Widget):
class _HistoryWidget(_ScrollableWidget):
class _HistoryWidget(_ScrollableWidget):
+ _wrapped_idx_neg: int
_y_pgscroll: int
_UNSET_IDX_NEG: int = 0
_UNSET_IDX_POS: int = -1
_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._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)
def _add_wrapped(self, history_idx_pos: int, line: str) -> int:
wrapped_lines = self._wrap(line)