microsoft / microsoft/edit

Random letters are inserted on startup

Open
#243 11 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
14.6k
Forks
734
Avg merge
8h 40m
Merged PRs (30d)
4

Description

When opening edit over ssh session, the first line shows this encoding pattern: c/0000cccc/cccc/ccccd6d6/d6d6

![Image](https://github.com/user-attachments/assets/67036c85-a1e3-4e77-9fe2-201cd838c25c)

**Repro steps:**
Enable SSH on Windows machine.
Connect to ssh session.
Download and install edit
Run edit

**Observed results:**
When opened the line number column is shifted 1 char to the right and some kind of encoding string is presented: c/0000cccc/cccc/ccccd6d6/d6d6.

**Expected results:**
edit should run without issues under a standard ssh session.

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.

Research direction

Start by reproducing the issue with edit launched through a Windows SSH session, following the listed steps. Investigate the startup and terminal-handling path; done means the editor opens without the encoding string and the line-number column is not shifted.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.