branch: externals/coterm
commit 11a959487588a406189a24e838ad673474db7664
Author: Miha Rihtaršič <[email protected]>
Commit: Miha Rihtaršič <[email protected]>
[auto-char] Detect prompts from "less -M"
---
coterm.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/coterm.el b/coterm.el
index ed4daf9..eec0161 100644
--- a/coterm.el
+++ b/coterm.el
@@ -360,8 +360,9 @@ that char mode is maintained even if the user presses \"/\",
(concat
"\\(?:"
":\\|"
- "(END)\\|"
+ "\\(?:.* \\)?" "(END)\\|"
"byte [0-9]+\\|"
+ "lines [0-9]+-[0-9]+\\|"
"100%\\|"
"\\(?:.* \\)?" "[0-9]?[0-9]%\\|"
".*(press h for help or q to quit)\\|"