summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiha Rihtaršič <miha@kamnitnik.top>2022-10-15 18:04:20 +0200
committerMiha Rihtaršič <miha@kamnitnik.top>2022-10-15 18:04:20 +0200
commitce3206fbd7156685e2d2f3fbc39b3eea3334754b (patch)
treeefb462407276fb35d3276eb787809b60ddb84496
parent1799a182d8da41d93319f161e4ab6c948315f7e1 (diff)
Detect 'mpv -v' promptexternals/coterm
-rw-r--r--coterm.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/coterm.el b/coterm.el
index a673a43..e68a21c 100644
--- a/coterm.el
+++ b/coterm.el
@@ -480,6 +480,7 @@ active if these status prompt erasures are detected."
(forward-line -1)
(prog1 (looking-at
(concat "\\(?:.*\n\\)?"
+ (regexp-opt '("[statusline] " "")) ; mpv -v
(regexp-opt '("(Paused) " "(Buffering) " "(...) " ""))
"\\(?:[AV]\\|AV\\): "
"-?[0-9][0-9]:[0-9][0-9]:[0-9][0-9] / "