diff options
Diffstat (limited to 'src/data_forms.py')
-rw-r--r-- | src/data_forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data_forms.py b/src/data_forms.py index d38f392a..e1c96500 100644 --- a/src/data_forms.py +++ b/src/data_forms.py @@ -402,7 +402,7 @@ class TextPrivateWin(TextSingleWin): self._win.erase() if self.color: self._win.attron(to_curses_attr(self.color)) - self.addstr('*'*len(self.text[self.line_pos:self.line_pos+self.width-1])) + self.addstr('*'*len(self.text[self.view_pos:self.view_pos+self.width-1])) if self.color: (y, x) = self._win.getyx() size = self.width-x |