gitpod-io / gitpod-io/gitpod

Invalid characters in terminal after special characters were displayed during prebuild

Open
#8,055 10 comments 1 reaction 1 assignee View on GitHub

@jeanp413 is already working on this.

Since Nov 28, 2022.

meta: never-stale team: IDE type: bug
Dominant language
TypeScript
Stars
13.8k
Forks
1.4k
Avg merge
17h 58m
Merged PRs (30d)
5

Description

Bug description

Invalid characters in terminal after special characters were displayed during prebuild.

image

In the screenshot above -
Aftermc (Minio client) was running during prebuild (these are the green characters),
A new workspace opens with invalid characters in terminal (ie. 11;rgb:1e1e/1e1e/1e1e;1R)

I'm sure it's not related specifically to mc, but has to do with special characters that are displayed during prebuild.
But mc was the easiest example I could find to reproduce the problem I'm seeing.

Steps to reproduce
  1. Open the example repository in Gitpod - https://github.com/shaal/gitpod-test--invalid-characters-in-terminal
  2. When workspace open - confirm you see invalid characters in terminal
Workspace affected

No response

Expected behavior

Regardless of what special characters are displayed during prebuild, it should not affect the terminal in a new workspace.
Especially when these invalid characters are "typed" in the command line.

Example repository

https://github.com/shaal/gitpod-test--invalid-characters-in-terminal

Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.