Skip to content

Commit ce2d0ac

Browse files
committed
[Docs] Add note about console wrapper to get_stdin_type.
1 parent c7ea861 commit ce2d0ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/classes/OS.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,18 +472,22 @@
472472
<return type="int" enum="OS.StdHandleType" />
473473
<description>
474474
Returns type of the standard error device.
475+
[b]Note:[/b] This method is implemented on Linux, macOS, and Windows.
475476
</description>
476477
</method>
477478
<method name="get_stdin_type" qualifiers="const">
478479
<return type="int" enum="OS.StdHandleType" />
479480
<description>
480481
Returns type of the standard input device.
482+
[b]Note:[/b] This method is implemented on Linux, macOS, and Windows.
483+
[b]Note:[/b] On exported Windows builds, run the console wrapper executable to access the standard input. If you need a single executable with full console support, use a custom build compiled with the [code]windows_subsystem=console[/code] flag.
481484
</description>
482485
</method>
483486
<method name="get_stdout_type" qualifiers="const">
484487
<return type="int" enum="OS.StdHandleType" />
485488
<description>
486489
Returns type of the standard output device.
490+
[b]Note:[/b] This method is implemented on Linux, macOS, and Windows.
487491
</description>
488492
</method>
489493
<method name="get_system_ca_certificates">

0 commit comments

Comments
 (0)