branch: externals/coterm
commit 13dd76a69806692aab4d60fae796c5fdedda6c33
Author: m <>
Commit: m <>

    Adjust mpv prompt detecting regexp
---
 coterm.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/coterm.el b/coterm.el
index defe9c0..36f8c79 100644
--- a/coterm.el
+++ b/coterm.el
@@ -270,10 +270,10 @@ If point is not on process mark, leave `coterm-char-mode' 
and
       (forward-line -1)
       (prog1 (looking-at
               (concat "\\(?:[^\n]*\n\\)?"
-                      "AV?: "
+                      "A?V?: "
                       "[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]%)"
+                      "([0-9]?[0-9]%).*"
                       "\\(?:"
                       "\n\\[-*\\+-*\\]"
                       "\\)?"

Reply via email to