Skip to content

strange behavior with tab[char] +line wrap + backspace in conhost/conpty #8839

@LuanVSO

Description

@LuanVSO

Environment

Windows build number: 10.0.19042.746
Windows Terminal version (if applicable):1.5.3242.0

Any other software?

Steps to reproduce

compile and run this simple code:

#include <stdio.h>
#include <stdlib.h>
int main(void)
{
	scanf("%*s",NULL);
	return 0;
}
  • then type [tab] + [any character]
  • hold tab again until the cursor goes to next line
  • hold backspace to delete all character's

Expected behavior

the character inserted gets removed

Actual behavior

it doesn't
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-OutputRelated to output processing (inserting text into buffer, retrieving buffer text, etc.)Impact-VisualIt look bad.In-PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.Priority-2A description (P2)Product-ConhostFor issues in the Console codebase

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions