summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-24 18:54:42 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-24 18:54:42 +0100
commit5e2bb98eee283aa06b424a53e9b10fa1b32f10cf (patch)
tree93d23cbb47760a4d900e8f4c326279cc519918af
parent0d202cb5f16bdd4aeb9f9a761359f42b1760ca01 (diff)
parenta18afb9a56d31a63d07c361070a36658d44fa84e (diff)
Merge pull request #68806 from MewPurPur/printraw-warn-better-in-docs
Make it clearer that printraw only prints to terminal
-rw-r--r--doc/classes/@GlobalScope.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml
index a85532dba6..3eb0d3eaf3 100644
--- a/doc/classes/@GlobalScope.xml
+++ b/doc/classes/@GlobalScope.xml
@@ -794,14 +794,13 @@
</method>
<method name="printraw" qualifiers="vararg">
<description>
- Prints one or more arguments to strings in the best way possible to console. Unlike [method print], no newline is automatically added at the end.
+ Prints one or more arguments to strings in the best way possible to the OS terminal. Unlike [method print], no newline is automatically added at the end.
[codeblock]
printraw("A")
printraw("B")
printraw("C")
- # Prints ABC
+ # Prints ABC to terminal
[/codeblock]
- [b]Note:[/b] Due to limitations with Godot's built-in console, this only prints to the terminal. If you need to print in the editor, use another method, such as [method print].
</description>
</method>
<method name="prints" qualifiers="vararg">