jnoortheen / xontrib-cmd-durations

Show long running commands durations in prompt with option to send notification when terminal is not focused.
MIT License
16 stars 4 forks source link

NameError: name 'maps' is not defined. #17

Closed anki-code closed 5 months ago

anki-code commented 5 months ago

Catched this on xontrib-cmd-durations-0.2.9:

File "/Users/pc/.local/xonsh-env/lib/python3.12/site-packages/xontrib/cmd_done.py", line 104, in _darwin_is_app_window_focused
    f"$TERM_PROGRAM={term} is not a valid app name. Existing mapping ({maps}) doesn't get the correct name. "
                                                                       ^^^^
NameError: name 'maps' is not defined. Did you mean: 'map'?
anki-code commented 5 months ago

Hi @jnoortheen! It looks that released package has no actual code from master. Please make release to fix this issue.

jnoortheen commented 5 months ago

Done!

anki-code commented 5 months ago

Thanks!