Skip to content

Commit

Permalink
fix pageup/pagedown bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
TomJGooding committed Jun 11, 2024
1 parent 6a01d11 commit a513aef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/textual/widgets/_month_calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ class MonthCalendar(Widget):
Binding("down", "next_week", "Next Week", show=False),
Binding("right", "next_day", "Next Day", show=False),
Binding("left", "previous_day", "Previous Day", show=False),
Binding("pageup", "next_month", "Next month", show=False),
Binding("pagedown", "previous_month", "Previous Month", show=False),
Binding("ctrl+pageup", "next_year", "Next Year", show=False),
Binding("ctrl+pagedown", "previous_year", "Previous Year", show=False),
Binding("pageup", "previous_month", "Previous Month", show=False),
Binding("pagedown", "next_month", "Next month", show=False),
Binding("ctrl+pageup", "previous_year", "Previous Year", show=False),
Binding("ctrl+pagedown", "next_year", "Next Year", show=False),
]

# TODO: min-width?
Expand Down

0 comments on commit a513aef

Please sign in to comment.