From ce2d0ac62f4e36716ad4be818afeb44a3e75e1b0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pa=CC=84vels=20Nadtoc=CC=8Cajevs?=
<7645683+bruvzg@users.noreply.github.com>
Date: Wed, 2 Apr 2025 13:55:06 +0300
Subject: [PATCH] [Docs] Add note about console wrapper to `get_stdin_type`.
---
doc/classes/OS.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml
index 9e9ba92d0f1..28d7f3da8d8 100644
--- a/doc/classes/OS.xml
+++ b/doc/classes/OS.xml
@@ -472,18 +472,22 @@
Returns type of the standard error device.
+ [b]Note:[/b] This method is implemented on Linux, macOS, and Windows.
Returns type of the standard input device.
+ [b]Note:[/b] This method is implemented on Linux, macOS, and Windows.
+ [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.
Returns type of the standard output device.
+ [b]Note:[/b] This method is implemented on Linux, macOS, and Windows.