godotengine / godotengine/godot-vscode-plugin

Terminal print is shifted

Open
#745 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.1k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

### Godot version

4.3.stable

### VS Code version

1.94.2

### Godot Tools VS Code extension version

2.3.0

### System information

Linux Ubuntu (KDE plasma)

### Issue description

When printing to the console executing (from VSC using e.g. f5)
```
print("Hello")
print("World")
print("!")
```
in e.g. _ready(), each new line is shifted more to the left.

Image example:
![image](https://github.com/user-attachments/assets/8f526527-e32e-44a0-aa4b-246cf5792365)
![image](https://github.com/user-attachments/assets/72c4a63c-d758-4e76-b46d-cf747fc38c17)

This is easily reproducible like I described. It is unusable for me, I have to start Godot the normal way, from the Godot editor.

### Steps to reproduce

Create a script attached to a node/scene with this code
```
func _ready():
print("first")
print("second")
print("third")
```

Execute in VSC (with f5).
Look at the terminal output in VSC

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.