Skip to content

Commit

Permalink
make ikhal work with urwid 2.4.2
Browse files Browse the repository at this point in the history
There seem to be no issues with older versions of urwid.
  • Loading branch information
geier authored and WhyNotHugo committed Jan 17, 2024
1 parent 214886d commit 212987c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ may want to subscribe to `GitHub's tag feed
not released yet

* UPDATED REQUIREMENT urwid is now required >= 2.1.0
* FIX support urwid 2.4.2
* optimization in ikhal when editing events in the far future or past
* FIX an issue in ikhal with updating the view of the event list after editing
an event
Expand Down
2 changes: 1 addition & 1 deletion khal/ui/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def __init__(
monthdisplay: Literal['firstday', 'firstfullweek']='firstday',
keybindings: Optional[Dict[str, List[str]]] = None,
) -> None:
datewidth = len(startdt.strftime(dateformat)) + 1
datewidth = len(startdt.strftime(dateformat))
self._dateformat = dateformat
if startdt is None:
startdt = dt.date.today()
Expand Down

0 comments on commit 212987c

Please sign in to comment.