Copied code or text output is difficult to paste and run
Open
Nobody has claimed this yet.
enhancement
priority: medium
question
triage: needs-decision
- Dominant language
- Rust
- Stars
- 19.9k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 30
Description
Jcode likes to embed selectable text in blocks that are enclosed on the left with text based bounding boxes. This means when you copy a piece of text (shell snippet perhaps), you need to take it to an editor, strip out the extraneous | chars and then paste it to terminal. This makes developing and testing with Jcode a tiresome process.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the code that renders selectable text and the text-based bounding boxes, then reproduce copying a shell snippet from a displayed block. Done means copied output can be pasted into an editor or terminal without requiring manual removal of | characters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100