Skip to content

CR: ctrl-d should delete a character, not exit the session #699

Closed

Description

@tomquas

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?

Activity

  1. added
    bug
    priority: medium
    triage: reproducible
    autonomous: clear
    on Aug 1, 2026
  2. 1jehuang commented on Aug 1, 2026

    @1jehuang
    Owner

    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

  3. added a commit that references this issue on Aug 1, 2026
    d88c414
  4. 1jehuang commented on Aug 1, 2026

    @1jehuang
    Owner

    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

  5. added
    triage: fixed-pending-release
    on Aug 1, 2026
  6. added a commit that references this issue on Aug 5, 2026
    459b70f
  7. added a commit that references this issue on Aug 30, 2026
    177fa26
  8. 4 remaining items

  9. added 3 commits that reference this issue on Sep 18, 2026
    17ef85a
    70d2a41
    862e599
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    autonomous: clearbugpriority: mediumtriage: fixed-pending-releasetriage: reproducible

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions