Skip to content

Commit

Permalink
wip: vscode launch json, some basic ansi-code attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
russmatney committed Jun 6, 2024
1 parent 31ef24c commit 0177263
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "GDScript: Launch Project",
"type": "godot",
"request": "launch",
"project": "${workspaceFolder}",
"debug_collisions": false,
"debug_paths": false,
"debug_navigation": false,
"additional_options": "",
}
]
}
6 changes: 6 additions & 0 deletions src/ExampleScene.gd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
extends CanvasLayer

func _enter_tree():
print("some ansi code?")
print("\\033[31mHello\\033[0m")

Log.set_colors_pretty()
# Log.disable_colors()

Expand Down Expand Up @@ -38,3 +41,6 @@ func _ready():

Log.pr("disabled colors")
print_rich(Log.to_pretty(1, {disable_colors=true}))

print("\\033[31;1;4mHello\\033[0m")

0 comments on commit 0177263

Please sign in to comment.