From 64a697339414f424073c5b021285fddb0ff2d9da Mon Sep 17 00:00:00 2001 From: Patrik Nyblom Date: Wed, 10 Feb 2010 15:47:09 +0000 Subject: 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). --- lib/stdlib/doc/src/shell.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/stdlib/doc/src/shell.xml') 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: {history, N}, 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 Mod:Func(L) must be allowed or - the default shell prompt function will be called.

- + 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 Mod:Func(L) must be + allowed or the default shell prompt function will be called.

+ -- cgit v1.2.3