diff options
author | Patrik Nyblom <[email protected]> | 2010-02-10 15:47:09 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-02-10 15:47:09 +0000 |
commit | 64a697339414f424073c5b021285fddb0ff2d9da (patch) | |
tree | 9fd383967b8456a31163d32d57cf7bf31c697051 /lib/stdlib/doc/src/shell.xml | |
parent | 97cd65dfbbc1a64632962fc8369700bfcfebea44 (diff) | |
download | otp-64a697339414f424073c5b021285fddb0ff2d9da.tar.gz otp-64a697339414f424073c5b021285fddb0ff2d9da.tar.bz2 otp-64a697339414f424073c5b021285fddb0ff2d9da.zip |
OTP-8418 user.erl (used in oldshell) is updated to handle unicode in
prompt strings (io:get_line/{1,2}). io_lib is also updated to
format prompts with the 't' modifier (i.e. ~ts instead of ~s).
Diffstat (limited to 'lib/stdlib/doc/src/shell.xml')
-rw-r--r-- | lib/stdlib/doc/src/shell.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/stdlib/doc/src/shell.xml b/lib/stdlib/doc/src/shell.xml index 2a7c5b8c69..73cc1b33bd 100644 --- a/lib/stdlib/doc/src/shell.xml +++ b/lib/stdlib/doc/src/shell.xml @@ -755,10 +755,11 @@ loop(N) -> created by the shell. Currently there is only one pair: <c>{history, N}</c>, where N is the current command number. The function should return a list of characters or an atom. This - constraint is due to the Erlang I/O-protocol. Note that in - restricted mode the call <c>Mod:Func(L)</c> must be allowed or - the default shell prompt function will be called.</p> - </section> + constraint is due to the Erlang I/O-protocol. Unicode characters + beyond codepoint 255 are allowed in the list. Note + that in restricted mode the call <c>Mod:Func(L)</c> must be + allowed or the default shell prompt function will be called.</p> + </section> <funcs> <func> |