about summary refs log tree commit diff
path: root/Doc/Zsh/contrib.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-10-21 09:51:54 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-10-21 09:51:54 +0000
commitc2ff977ddb1b8892fd1e374f3360b70290cfeabb (patch)
tree53997be89813fd70c6ee9bb92e1273402b9bf090 /Doc/Zsh/contrib.yo
parent014402141335585cd6e597f74ca3b9feddddf985 (diff)
downloadzsh-c2ff977ddb1b8892fd1e374f3360b70290cfeabb.tar.gz
zsh-c2ff977ddb1b8892fd1e374f3360b70290cfeabb.tar.xz
zsh-c2ff977ddb1b8892fd1e374f3360b70290cfeabb.zip
21898: insert-composed-char can take command line argument
21899: add "roadmap" to manual
Diffstat (limited to 'Doc/Zsh/contrib.yo')
-rw-r--r--Doc/Zsh/contrib.yo7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 9baee7a1b..71980180e 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -671,6 +671,13 @@ together form a mnemonic for the character to be inserted.  The
 two-character codes are a subset of those given by RFC 1345 (see for
 example tt(http://www.faqs.org/rfcs/rfc1345.html)).
 
+The function may optionally be followed by up to two characters which
+replace one or both of the characters read from the keyboard; if both
+characters are supplied, no input is read.  For example,
+tt(insert-composed-char a:) can be used within a widget to insert an a with
+umlaut into the command line.  This has the advantages over use of a
+literal character that it is more portable.
+
 For best results zsh should have been built with support for multibyte
 characters (configured with tt(--enable-multibyte)); however, the function
 works for the limited range of characters available in single-byte