microsoft / microsoft/terminal

'MODE CON LINES=100' kills command prompt

Open
#4,062 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Server Issue-Bug Priority-2 Product-Conpty
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.535]
Windows Terminal version (if applicable): 0.7.3451.0

Steps to reproduce

Open command prompt ('CMD'), and type 'MODE CON LINES=100'

Expected behavior

The screen is cleared, and prompt is shown at upper left corner.

Actual behavior

No prompt is show (at least characters of prompt are invisible).
command_prompt

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 on Windows 10 with Command Prompt and MODE CON LINES=100, using the provided expected and actual behavior as the check. Trace the console handling for this command and determine why the prompt becomes invisible; done means the screen clears and the prompt is visible in the upper-left corner.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.