verify checklist: scroll text with wide characters into the terminal history
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- c, markdown
- Domain
- documentation
Research direction
Update .claude/skills/verify/checklist.md, adding the wide-character scrollback case to the terminal checklist. The checklist should instruct verification to print text such as 日本語の行 あいうえお and printf 'あb\r \n', scroll it into terminal history, and confirm that the history preserves the displayed columns. Run the updated verify checklist against changes involving extensions/terminal/terminal.c or scrollback-line rendering; the issue is done when the checklist can detect garbled wide-character history.
Written by the indexing model from the issue text.
Description
#2522 fixed a bug that verification had not caught: in M-x terminal, every line holding a wide character (Japanese text) was garbled once it scrolled into the history, because the scrollback line was built from the cells in C (terminal_sb_line_extract) and not the way the screen is rendered (render-row-direct). The checklist item "Scrolling a terminal buffer" in .claude/skills/verify/checklist.md scrolls the history with ASCII output only (seq, a spinner), so it could not see it.
CLAUDE.md asks for a checklist item when a bug gets past verification. Add to that item (or a new one under "Terminal"), for changes to extensions/terminal/terminal.c or to how scrollback lines are made: print text with wide characters (e.g. 日本語の行 あいうえお, and printf 'あb\r \n' for a space over half a wide character), scroll it into the history, and see that the history shows each line as the screen showed it, columns included.
Found by the review of #2522.
An agent can fix this and check it with verify.
- Dominant language
- Common Lisp
- Stars
- 3.1k
- Forks
- 261
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 117
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 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
-
Difficulty 1/5 Under an hour Newbie friendliness 83/100
lem-project/lem#2321 · 2 reactions ·
Maintainers usually reply within 1 day
Similar issues
-
infra
Difficulty 1/5 Under an hour Newbie friendliness 94/100
Maintainers usually reply within 1 day
-
Add Strange QuarkOpen
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
facebookresearch/atlas-lean#20426 ·
Maintainers usually reply within 1 day
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
area: ai-assistants documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BetaBots-LLC/latticegate#17 ·