Skip to content

Commit

Permalink
Fix issue panyanyany#29
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadRimawi authored Feb 10, 2024
1 parent 54c3887 commit 853c9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beeprint/helpers/string.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
def calc_width(s):
if hasattr(urwid, 'util'):
return urwid.util.calc_width(s, 0, len(s))
return urwid.str_util.calc_width(s, 0, len(s))
return urwid.old_str_util.calc_width(s, 0, len(s))


def cut_string(s, length):
Expand Down

0 comments on commit 853c9c4

Please sign in to comment.