Skip to content

AltGr dead key types an extra base character in a --remote session #3948

Description

@albertotb

Is this a reproducible bug?

  • I confirm this is a reproducible bug, not a feature request, idea, question, contribution proposal, or direction check.
  • I reproduced this bug on the version and environment reported below using the exact steps provided.

Current behavior

On a Spanish ISO layout ~ is a dead key: AltGr+4 then Space. In a session attached with herdr --remote <host> this types 4~ — the key's base character leaks in alongside the tilde.

Same Windows herdr client, same physical keystroke:

Context Result
herdr local session (no --remote) ~
herdr --remote <host> 4~
Windows Terminal on its own ~
plain ssh <host> in Windows Terminal, no herdr ~

No custom Windows Terminal keybindings are configured.

Expected behavior

AltGr+4 then Space should type a single ~, as it does in a local herdr session.

Reproduction

  1. Windows client with a Spanish ISO keyboard layout, in Windows Terminal.
  2. Run herdr --remote <host> (--remote-keybindings left at its default, local).
  3. In any pane, press AltGr+4, then Space.

Result: 4~. Expected: ~.

Impact

~ is needed constantly for paths (~/.config/...) and shell expansion. Every one has to be deleted and retyped or pasted. It affects every pane in any --remote session

Environment

  • Herdr version: 0.9.0
  • Update channel (stable or preview): stable
  • Operating system: client Windows 10 Pro 19045; remote host Linux
  • Terminal: Windows Terminal 1.24.11911.0 (Store, stable)
  • Shell, if relevant: bash on the remote host
  • Relevant config, if any: ~/.config/herdr/config.toml has no [keys] section. Keyboard layout Spanish ISO (0000040A), not US-International.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginputkeyboard, mouse, clipboard, selection, or IME behaviormaintainer-neededrequires maintainer judgment or maintainer-only reproductionp2valid narrow or ordinary defect with limited impact or a practical workaroundpending-releaseremoteaffects SSH, headless, or remote attachment behaviorwindowsaffects Windows-specific behavior

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions