diff options
author | bptato <nincsnevem662@gmail.com> | 2023-08-20 19:53:44 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-08-20 19:53:44 +0200 |
commit | 242b46ca770a8b95539ece648f78af1eff8c844d (patch) | |
tree | b797eb92a1c8dbd293e3dc208857541c46b17ba5 | |
parent | 9187be5d2c40c2d0d8b10a457a613b482963d0d2 (diff) | |
download | chawan-242b46ca770a8b95539ece648f78af1eff8c844d.tar.gz |
doc: add needsterminal to mailcap
-rw-r--r-- | doc/mailcap.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/mailcap.md b/doc/mailcap.md index 4ee3c5a9..62b76853 100644 --- a/doc/mailcap.md +++ b/doc/mailcap.md @@ -48,7 +48,7 @@ x=%s; echo "$(cat "$x")" ### Fields -The `test`, `nametemplate` and `copiousoutput` fields are +The `test`, `nametemplate`, `needsterminal` and `copiousoutput` fields are recognized. Additionally, the non-standard `x-htmloutput` extension field is recognized too. @@ -59,7 +59,10 @@ is recognized too. into a new buffer. * The `x-htmloutput` extension field behaves the same as `copiousoutput`, but makes Chawan interpret the command's output as HTML. -* For a description of nametemplate, see the RFC. +* `needsterminal` hands over control of the terminal to the command while + it is running. Note: as of now, `needsterminal` does nothing if either + `copiousoutput` or `x-htmloutput` is specified. +* For a description of `nametemplate`, see the RFC. ## Note |