We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f73cb3 commit 1812e65Copy full SHA for 1812e65
lib/elixir/lib/io/ansi.ex
@@ -33,7 +33,12 @@ defmodule IO.ANSI do
33
Checks whether the default I/O device is a terminal or a file.
34
35
Used to identify whether printing ANSI escape sequences will likely
36
- be printed as intended
+ be printed as intended.
37
+
38
+ Please note that invoked while in shell (iex) in Erlang/OTP
39
+ prior to R16, terminal?/0 will always return false because
40
+ Erlang shell did not support ANSI escape sequences up until
41
+ R16.
42
"""
43
@spec terminal? :: boolean
44
@spec terminal?(:io.device) :: boolean
0 commit comments