aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-07-24 16:20:24 +0200
committerBjörn-Egil Dahlberg <[email protected]>2013-07-24 16:20:24 +0200
commit81daa95ab45677676ebb4f05c4e25dbc42b116ed (patch)
tree1e31fa4851c46e2e919ceb140c7151038e2985e9 /lib
parent645116ed15cd91dec3ac30738f44e489b3fb37b0 (diff)
parentc145a2703ccf773614d64c6c57fd2231d5deb91f (diff)
downloadotp-81daa95ab45677676ebb4f05c4e25dbc42b116ed.tar.gz
otp-81daa95ab45677676ebb4f05c4e25dbc42b116ed.tar.bz2
otp-81daa95ab45677676ebb4f05c4e25dbc42b116ed.zip
Merge branch 'jv/update-io_prompt-type/OTP-11208' into maint
* jv/update-io_prompt-type/OTP-11208: Update io:prompt() type
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/src/io.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/io.erl b/lib/stdlib/src/io.erl
index 53728237ca..b11d41e2eb 100644
--- a/lib/stdlib/src/io.erl
+++ b/lib/stdlib/src/io.erl
@@ -40,7 +40,7 @@
%%-------------------------------------------------------------------------
-type device() :: atom() | pid().
--type prompt() :: atom() | string().
+-type prompt() :: atom() | unicode:chardata().
%% ErrorDescription is whatever the I/O-server sends.
-type server_no_data() :: {'error', ErrorDescription :: term()} | 'eof'.