branch: externals/coterm
commit dd0673772defc14e257760df52bad815a9222305
Author: m <>
Commit: m <>

    Improve regexp matching mpv prompt
---
 coterm.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/coterm.el b/coterm.el
index 78491cd..376a630 100644
--- a/coterm.el
+++ b/coterm.el
@@ -293,7 +293,8 @@ active if these status prompt erasures are detected."
       (forward-line -1)
       (prog1 (looking-at
               (concat "\\(?:.*\n\\)?"
-                      "A?V?: "
+                      "\\(?:(Paused) \\)?"
+                      "\\(?:[AV]\\|AV\\): "
                       "[0-9][0-9]:[0-9][0-9]:[0-9][0-9] / "
                       "[0-9][0-9]:[0-9][0-9]:[0-9][0-9] "
                       "([0-9]?[0-9]%).*"

Reply via email to