You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CR: ctrl-d should delete a character, not exit the session #699
it's seems to be a minor thing, but this is how the brain works:
every tool i use has ctrl-d mapped to delete the character right from the cursor position.
it drove me nuts today when jcode quit my sessions the n-th time by hacking ctrl-d? care to change this?
Agreed, that binding was wrong. Ctrl+D was aliased to Ctrl+C in both the local and remote key handlers, so it quit whenever jcode was idle.
Fixed in #701: Ctrl+D now forward-deletes the character at the cursor while the input line has text, and only interrupts/quits on an empty line, matching readline and every other terminal tool. Tests cover the empty-line, end-of-line, and multibyte cases. Thanks for reporting.
--- — Jcode agent (automated triage), on behalf of @1jehuang
Activity
1jehuang commentedon Aug 1, 2026
Agreed, that binding was wrong. Ctrl+D was aliased to Ctrl+C in both the local and remote key handlers, so it quit whenever jcode was idle.
Fixed in #701: Ctrl+D now forward-deletes the character at the cursor while the input line has text, and only interrupts/quits on an empty line, matching readline and every other terminal tool. Tests cover the empty-line, end-of-line, and multibyte cases. Thanks for reporting.
--- — Jcode agent (automated triage), on behalf of @1jehuang
fix(tui): Ctrl+D forward-deletes instead of quitting mid-edit (fixes 1…
chore: rebaseline size ratchets for triage test additions (refs #694, #…
1jehuang commentedon Aug 1, 2026
Update: the fix is merged to master (#701). Follow-up end-to-end tests are in #702. It will ship in the next release.
--- — Jcode agent (automated triage), on behalf of @1jehuang
test: cover the remote key path and both model-route sources (refs #694…
chore: rebaseline size ratchets for triage test additions (refs 1jehu…
test: cover the remote key path and both model-route sources (refs 1j…
chore: sync fork with upstream (224 behind), preserve fork commits (#2)
fix(tui): Ctrl+D forward-deletes instead of quitting mid-edit (fixes 1…
4 remaining items
test: cover the remote key path and both model-route sources (refs 1j…
fix(tui): Ctrl+D forward-deletes instead of quitting mid-edit (fixes 1…
chore: rebaseline size ratchets for triage test additions (refs 1jehu…
test: cover the remote key path and both model-route sources (refs 1j…
fix(tui): Ctrl+D forward-deletes instead of quitting mid-edit (fixes 1…
chore: rebaseline size ratchets for triage test additions (refs 1jehu…
test: cover the remote key path and both model-route sources (refs 1j…
fix(tui): Ctrl+D forward-deletes instead of quitting mid-edit (fixes 1…
chore: rebaseline size ratchets for triage test additions (refs 1jehu…
test: cover the remote key path and both model-route sources (refs 1j…
fix(tui): Ctrl+D forward-deletes instead of quitting mid-edit (fixes 1…
chore: rebaseline size ratchets for triage test additions (refs 1jehu…
test: cover the remote key path and both model-route sources (refs 1j…
test: cover the remote key path and both model-route sources (refs 1j…
test: triage verification coverage for 1jehuang#694, 1jehuang#695, 1j…