Copy Pasting a Large Amount of Text Into Lem From Terminal Lags
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- cli
Research direction
The report identifies the ncurses backend and says terminal pastes arrive as many character insert events, with processing apparently limited to 50 events per frame. Start by locating the ncurses input handling and how it processes queued insert events. Done looks like pasting roughly 1,000 lines no longer takes several minutes, while ordinary typing remains responsive.
Written by the indexing model from the issue text.
Description
When using the ncurses backend, if you directly paste a large amount text (in my case about 1000 lines) into lem, it seems like lem can only process something 50 character insert events per frame, so it takes several minutes for all the text to show up.
Note that because this is copy pasting into the terminal, the terminal is just sending a large amount of character insert events, not any sort of special paste event afaik.
- Dominant language
- Common Lisp
- Stars
- 3.1k
- Forks
- 261
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 133
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from lem-project/lem
-
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
lem-project/lem#2525 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
lem-project/lem#2524 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
lem-project/lem#2488 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
lem-project/lem#2369 ·
Maintainers usually reply within 1 day
-
unix-paste-bugOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lem-project/lem#2360 ·
Maintainers usually reply within 1 day
Similar issues
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`Possibly taken @carlosrobert0 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ajithakdev/claude-desktop-rpm#43 ·
Maintainers usually reply within 1 day