ohmyzsh: strange behaviours: copy and paste some URL and numeric keypad that does not work

Describe the bug

Hi, I have two really strange behaviours. I don’t know if they are related, but they appeared together:

  • if I copy and paste an URL in the shell, the dots are replaced by n;
  • if I click 1, 2, ecc., ENTER in the numeric keypad, nothing happens

Steps to reproduce

Copy and paste an URL in the shell

I use Windows Terminal. If I copy the URL “https://github.com/” and paste it in the shell the dots are replaced by n: I have https://githubncom/

image

Numeric keypad does not work

If I open pengwin shell and I click 1, 2, ecc., ENTER in the numeric keypad, nothing happens.

If I open the other shells the numeric keypad buttons work.

Special note

If I open bash, I have no problem with copy and paste and I have no problem with numeric keypad

Expected behavior

  • having kept the dots after I paste a URL
  • being able to use the numeric keyboard

Screenshots and recordings

No response

OS / Linux distribution

Debian 12, as WSL in Windows 11

Zsh version

5.9

Oh My Zsh version

master (48ccc7b)

Terminal emulator

Windows terminal

If using WSL on Windows, which version of WSL

WSL2

Additional context

No response

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 29 (11 by maintainers)

Most upvoted comments

If it helps… I’m running it under wsl 2 with Windows Terminal Preview app, if I switch to the Windows Terminal (the non preview version) all is working correctly .

It’s also for me. Thank you very much.

I thank everyone for your time and apologize.