Skip to content

Commit

Permalink
Fix print of title in imshow
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Jan 18, 2024
1 parent a81c498 commit f11d04b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion imshow/_imshow.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ def print_item_and_index() -> None:
except TypeError:
total_size_str = "n"
print(
f"[{state.index + 1}/{total_size_str}] {get_title_from_item(item)}",
f"[{state.index + 1}/{total_size_str}] "
f"{get_title_from_item(items[state.index])}",
file=sys.stderr,
)

Expand Down

0 comments on commit f11d04b

Please sign in to comment.