Merge pull request #65751 from Faless/os/4.x_expose_read_from_stdin

This commit is contained in:
Rémi Verschelde
2022-10-03 14:08:00 +02:00
committed by GitHub
3 changed files with 14 additions and 0 deletions
+8
View File
@@ -544,6 +544,14 @@
[b]Note:[/b] This method is implemented on Linux, macOS and Windows.
</description>
</method>
<method name="read_string_from_stdin">
<return type="String" />
<param index="0" name="block" type="bool" default="true" />
<description>
Reads a user input string from the standard input (usually the terminal).
[b]Note:[/b] This method is implemented on Linux, macOS and Windows. Non-blocking reads are not currently supported on any platform.
</description>
</method>
<method name="request_permission">
<return type="bool" />
<param index="0" name="name" type="String" />