[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/coterm 8e24e4e: Improve mpv prompt detection
From: |
ELPA Syncer |
Subject: |
[elpa] externals/coterm 8e24e4e: Improve mpv prompt detection |
Date: |
Fri, 3 Dec 2021 07:57:19 -0500 (EST) |
branch: externals/coterm
commit 8e24e4eb07664005d73f630d7da7e6ed5816c176
Author: Miha Rihtaršič <miha@kamnitnik.top>
Commit: Miha Rihtaršič <miha@kamnitnik.top>
Improve mpv prompt detection
---
coterm.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/coterm.el b/coterm.el
index af41edd..5806f3c 100644
--- a/coterm.el
+++ b/coterm.el
@@ -461,11 +461,11 @@ active if these status prompt erasures are detected."
(forward-line -1)
(prog1 (looking-at
(concat "\\(?:.*\n\\)?"
- "\\(?:(Paused) \\)?"
+ (regexp-opt '("(Paused) " "(Buffering) " "(...) " ""))
"\\(?:[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]%).*"
+ "-?[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\\[-*\\+-*\\]"
"\\)?"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/coterm 8e24e4e: Improve mpv prompt detection,
ELPA Syncer <=