notify_on_cmd_finish: Show the actual command that was finished

Fixes #7420
This commit is contained in:
Kovid Goyal
2024-05-09 09:49:26 +05:30
parent c50e38a080
commit 0d68a21be5
9 changed files with 123 additions and 56 deletions

View File

@@ -147,7 +147,7 @@ functions for the events you are interested in, for example:
def on_cmd_startstop(boss: Boss, window: Window, data: Dict[str, Any]) -> None:
# called when the shell starts/stops executing a command. Here
# data will contain is_start and time.
# data will contain is_start, cmdline and time.
Every callback is passed a reference to the global ``Boss`` object as well as
the ``Window`` object the action is occurring on. The ``data`` object is a dict