From c2ff977ddb1b8892fd1e374f3360b70290cfeabb Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 21 Oct 2005 09:51:54 +0000 Subject: 21898: insert-composed-char can take command line argument 21899: add "roadmap" to manual --- Doc/Zsh/contrib.yo | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Doc/Zsh/contrib.yo') 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 -- cgit v1.2.3