posit-dev / posit-dev/positron

Cannot clear line when in pdb

Open
#8,690 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area: console area: debugger bug
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 11h
Merged PRs (30d)
206

Description

System details:

Positron and OS details:

Positron Version: 2025.07.0 build 204
Code - OSS Version: 1.100.3
Commit: 03ae7a5393c776bb24c23d2aa6a6bfbba90cbc5e
Date: 2025-06-30T16:29:03.492Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Session details:

Describe the issue:

When in the pdb and ipdb prompts, ctrl-l does not work. I get a pop-up stating "Cannot clear console. A prompt is active".

Steps to reproduce the issue:

Open up pdb and type ctrl-l

Expected or desired behavior:

Normal REPL behavior i.e. the console should be cleared above the pdb 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

Reproduce the issue in the pdb and ipdb prompts with Ctrl-L and observe the active-prompt error. Trace the console-clear handling for an active prompt; done means Ctrl-L clears the console above the debugger prompt without the “Cannot clear console” popup.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, typescript
Domain
desktop, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.