microsoft / microsoft/terminal

Extra new line while using Telnet connection

Open
#12,501 9 comments 0 reactions 0 assignees View on GitHub
Area-Output Area-VT Issue-Bug Priority-2 Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.11.34.71.0

### Windows build number

10.0.19043.1526

### Other Software

VMware® Workstation 16 Pro (version: 16.1.0 build-17198959)
EVE-NG Community edition (version: 2.0.3-112)

### Steps to reproduce

I use WT for network labs. I connect to nodes with a **Telnet** connection. And while I am inside the **CLI** of nodes and doing some stuff there. Exactly at this point when I press the **Enter key** to go to the new line. It gives me two new lines. It feels like I have pressed the key twice.
Instead of WT when I use _Solar-Putty_ this does not happen. Whereas I prefer to use WT and want it to work properly.

### Expected Behavior

It should give only one new line each time I press to the enter key

### Actual Behavior

It doubles the new line. Which is irritating.

In case you need more detail, the following virtual images are from vendors such as:

- Juniper: vMX Router:

![115066102-1a00ab80-9f00-11eb-90f5-c97000eb0a6a](https://user-images.githubusercontent.com/46714728/154232162-493ce4e7-b312-44c4-8b36-c2f6864c435a.png)

- Cisco: IOS Router:

![115066112-1ff68c80-9f00-11eb-9486-6c0bb91a3617](https://user-images.githubusercontent.com/46714728/154232195-6ec5681d-42cb-42e3-971e-f6013b3984ce.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in Windows Terminal 1.11.34.71.0 using a Telnet connection to the Juniper vMX and Cisco IOS environments described, then compare Enter-key handling with Solar-PuTTY. Done means pressing Enter in the remote CLI produces exactly one new line rather than two.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.