Skip to content

Commit

Permalink
fix small stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
iamalisalehi committed Jul 11, 2024
1 parent 8bb0f3f commit 42f486e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pick/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@dataclass
class Option:
label: str
value: Any
value: Any = None
enable: bool = True
description: Optional[str] = None

Expand Down Expand Up @@ -142,7 +142,7 @@ def draw(self, screen: "curses._CursesWindow") -> None:
if current_line > max_rows:
scroll_top = current_line - max_rows

lines_to_draw = lines[scroll_top: scroll_top + max_rows]
lines_to_draw = lines[scroll_top : scroll_top + max_rows]

description_present = False
for option in self.options:
Expand Down

0 comments on commit 42f486e

Please sign in to comment.