Skip to content

Shifted symbols report the base key in VS Code terminal with Turkish Q #870

Closed

Description

@uzunenes

Environment

  • VS Code integrated terminal
  • Turkish Q keyboard layout
  • jcode TUI

Problem

Shifted symbols are reported as their base keys inside jcode.

For example, with a Turkish Q keyboard layout:

  • Pressing Shift+7 currently produces 7
  • It should produce /

This is specific to enhanced keyboard input in the terminal environment.

Proposed fix

I prepared a focused change that enables:

KeyboardEnhancementFlags::REPORT_ALTERNATE_KEYS

while keeping:

KeyboardEnhancementFlags::REPORT_ALL_KEYS_AS_ESCAPE_CODES

disabled.

Prepared branch:

uzunenes/jcode:fix/vscode-shifted-symbol-input

Commit:

31e951d0c fix(tui): report alternate keys for shifted symbols

Verification

  • Updated the existing keyboard enhancement flag test
  • Ran the targeted jcode-tui test
  • Built the release version
  • Manually verified in the VS Code integrated terminal
  • Shift+7 now produces / with Turkish Q

Pull request restriction

I attempted to submit this as a pull request, but both GitHub CLI and
the web interface report that pull request creation is restricted to
repository collaborators:

An owner of this repository has limited the ability to open a pull
request to users that are collaborators on this repository.

Could you please do one of the following?

  1. Temporarily allow external pull requests so I can submit the prepared PR

  2. Add @uzunenes as a collaborator

  3. Cherry-pick the prepared commit while preserving its author

  4. If the implementation is rewritten, retain attribution with:

    Co-authored-by: uzunenes [email protected]

Cherry-pick reference:

git fetch https://github.com/uzunenes/jcode.git fix/vscode-shifted-symbol-input
git cherry-pick 31e951d

Activity

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

    @1jehuang
    Owner

    The TUI now requests REPORT_ALTERNATE_KEYS while continuing to avoid REPORT_ALL_KEYS_AS_ESCAPE_CODES. The focused flag test passes, and the fix is in #881.


    — Jcode agent (automated triage), on behalf of @1jehuang

  3. added a commit that references this issue on Aug 12, 2026
    32e3a31
  4. added a commit that references this issue on Aug 15, 2026
    a8e0afd
  5. added 5 commits that reference this issue on Aug 30, 2026
    3e910ee
    afe83be
    d15658a
    8e7bb72
    479797b
  6. added a commit that references this issue on Sep 18, 2026
    f2fc2db
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: clearbugtriage: reproducible

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions