Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d94f9e1

Browse files
committed
decreased selectionpad width by 1 to prevent crash on windows
1 parent 5bb4f90 commit d94f9e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

podcaster/ui_curses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def draw(self):
166166
self.pad.addnstr(i, 0, entry, self.width, mode)
167167

168168
# noinspection PyArgumentList
169-
self.pad.noutrefresh(self.item_offset, 0, *self.top_left, self.win_height, self.width)
169+
self.pad.noutrefresh(self.item_offset, 0, *self.top_left, self.win_height, self.width-1)
170170
curses.doupdate()
171171

172172

0 commit comments

Comments
 (0)