From 8cd329c5c5694ce0dca987e84a9efe74800d04db Mon Sep 17 00:00:00 2001 From: Matt Rose Date: Fri, 4 Sep 2020 10:40:14 -0400 Subject: [PATCH] added some more documentation --- terminatorlib/plugins/command_notify.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terminatorlib/plugins/command_notify.py b/terminatorlib/plugins/command_notify.py index c7575b06..65bc0926 100644 --- a/terminatorlib/plugins/command_notify.py +++ b/terminatorlib/plugins/command_notify.py @@ -7,8 +7,12 @@ depends on https://github.com/GNOME/vte/blob/vte-0-58/src/vte.sh (which has to be added to /etc/profile.d) and you need to ensure `__vte_prompt_command` is executed on `PROMPT_COMMAND` in Bash or in `precmd_functions` in Zsh. +This plugin also relies on the widely distributed vte patches to wire in a +`notification_received` signal to catch the OSC escape sequence in the prompt + Code is adapted from https://github.com/x4lldux/terminator-long-cmd-notify Thanks to @xll4dux on Github for the code and his permission to use it + """ import terminatorlib.plugin as plugin from terminatorlib.terminator import Terminator