Skip to content

password number only accepted with num pad #6287

Open

Description

@metal3d

What Operating System(s) are you seeing this problem on?

Linux X11, Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

mutter

WezTerm version

20241015_083151_9ddca7bd

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

Using sudo ls for example, to use sudo, when the prompt asks for password, it is refused.

The password contains numbers. If, instead of using the numbers on the "typewriter" part of the keyboard, I'm using the numpad, it is OK.

I'm using AZERTY keyboard (french), as my password contains W and exclamation mark, I'm pretty sure that the problem is not that password prompt pass to QWERTY (because, only numbers are typed on the numpad)

Knowing the workaround, using the numpad, is OK - but I prefer using numbers on the typewriter section of the keyboard.

To Reproduce

I don't know... Try using an AZERTY keyboard 😄

Configuration

I need to start "bash" as default prog. Because, without this, my bashrc is not loaded.

It's weird IMHO.

config.default_prog = { "bash", "-i" }

If I remove this line, the prompt is different and typing the password for sudo is OK.

When I start bash then sudo -k to invalidate de session, then sudo ls, the problem remains.

All the others terminals works (kitty, gnome-term, ...) - no need to force the SHELL, and no problem with the password.

Expected Behavior

Typing password with the typewritter numbers should be OK.

Logs

No response

Anything else?

No response

Activity

  1. Neroptique commented on Oct 23, 2024

    @Neroptique

    Having the same issue here, also with an azerty keyboard.
    I have the same issue if i use the python console inside werterm.
    Typing number from 1234567890 in the python console results in this :
    ;2;49~;2;50~;2;51~;2;52~;2;53~;2;54~;2;55~;2;56~;2;57~;2;48~

  2. metal3d commented on Oct 24, 2024

    @metal3d
    Author

    That's what I see too. For some app, like NeoVim, or TUI, the typewriter numbers gives the list you mentioned.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions