Problem with Repeated Use of `pipe-command` without closing popup buffer

Open
#2,254 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
57/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Domain
desktop

Research direction

Start by tracing the C-x @ binding and the pipe-command prompt behavior when a popup buffer is already open; the issue does not name source files or tests. Reproduce by opening a command output popup, invoking C-x @ again, and typing a character. Done means the prompt accepts command input without closing the popup or sending that input to the primary text buffer.

Written by the indexing model from the issue text.

Description

Steps to Reproduce

  • Type C-x @ and then enter some shell command such as git status and hit enter. Lem will open up a popup showing the output of the command.
  • Then, enter C-x @ again while the popup is still open and start typing your command. What will happen is as soon as you enter the first key into the pipe-command prompt, lem interprets this as the signal to close the popup buffer, which then moves the cursor back into your primary text buffer, so the output of your typing will go into your text buffer rather than the prompt.
Image
Dominant language
Common Lisp
Stars
3.1k
Forks
261
Avg merge
1d 6h
Merged PRs (30d)
133

Getting set up

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.

More from lem-project/lem

All issues in lem-project/lem

Similar issues

More Desktop Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.